Pagini recente » Borderou de evaluare (job #2082179) | Borderou de evaluare (job #3264647) | Borderou de evaluare (job #2926066) | Borderou de evaluare (job #2360020) | Borderou de evaluare (job #2248125)
Borderou de evaluare (job #2248125)
Raport evaluator
Compilare:
user.cpp: In function ‘int get(int)’:
user.cpp:41:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(a1 == i)
^~
user.cpp:43:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
if(cur[aa] + curp[aa] <= sumcur - 1) {
^~
user.cpp: In function ‘int main()’:
user.cpp:52:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("laundering.in", "r", stdin);
^
user.cpp:53:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("laundering.out", "w", stdout);
^
user.cpp:54:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:57:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(a, maxn, stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 296ms | 1420kb | Incorect | 0 |
Punctaj total | 0 |