Pagini recente » Borderou de evaluare (job #410815) | Borderou de evaluare (job #1695489) | Borderou de evaluare (job #193035) | Borderou de evaluare (job #1106357) | Borderou de evaluare (job #1349908)
Borderou de evaluare (job #1349908)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:47:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100005]’ [-Wformat=]
scanf("%s", &a);
^
user.cpp:65:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(!op.empty() && priority[a[i]]<=priority[op.top()])
^
user.cpp:91:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<polo.size(); i++)
^
user.cpp: In function ‘int calc(int, int, int)’:
user.cpp:38:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:42:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("evaluare.in", "r", stdin);
^
user.cpp:43:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("evaluare.out", "w", stdout);
^
user.cpp:47:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &a);
^
user.cpp: In function ‘int conv(char)’:
user.cpp:30:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | Incorect | 0 |
2 | 0ms | 268kb | Incorect | 0 |
3 | 0ms | 276kb | Incorect | 0 |
4 | 0ms | 276kb | Incorect | 0 |
5 | 0ms | 276kb | Incorect | 0 |
6 | 0ms | 272kb | Incorect | 0 |
7 | 0ms | 308kb | Incorect | 0 |
8 | 0ms | 348kb | Incorect | 0 |
9 | 4ms | 860kb | Incorect | 0 |
10 | 4ms | 856kb | Incorect | 0 |
Punctaj total | 0 |