Pagini recente » Borderou de evaluare (job #2220294) | Monitorul de evaluare | Borderou de evaluare (job #1131807) | Monitorul de evaluare | Borderou de evaluare (job #2220283)
Borderou de evaluare (job #2220283)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:42:46: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(vfchar && Importance[Exp[i]]<=Importance[Stack[vfchar]]){
^
user.cpp:42:73: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(vfchar && Importance[Exp[i]]<=Importance[Stack[vfchar]]){
^
user.cpp:37:19: warning: unused variable ‘Result’ [-Wunused-variable]
int long i=0, Result;
^~~~~~
user.cpp:28: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:29: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:31:32: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(Exp+1, 100005, stdin);
^
In file included from /usr/include/stdio.h:936:0,
from /usr/include/c++/6/cstdio:42,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:31:32:
/usr/include/bits/stdio2.h:261:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 756kb | OK | 10 |
| 2 | 0ms | 864kb | OK | 10 |
| 3 | 0ms | 792kb | OK | 10 |
| 4 | 0ms | 864kb | OK | 10 |
| 5 | 0ms | 932kb | OK | 10 |
| 6 | 0ms | 756kb | OK | 10 |
| 7 | 0ms | 804kb | OK | 10 |
| 8 | 0ms | 756kb | OK | 10 |
| 9 | 0ms | 804kb | OK | 10 |
| 10 | 0ms | 756kb | OK | 10 |
| Punctaj total | 100 |