Problem lvm
User carson
Submission Time 2026-02-06 21:55:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lvm.cpp: In function ‘int main()’:
lvm.cpp:13:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
13 | if(input[i].first == "PUSH" || input[i].first == "IFZERO"){
| ^~~~~~
lvm.cpp:13:52: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
13 | if(input[i].first == "PUSH" || input[i].first == "IFZERO"){
| ^~~~~~~~
lvm.cpp:18:23: error: conversion from ‘long long int’ to non-scalar type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} requested
18 | string a = input[i].first;