Pagini recente » Borderou de evaluare (job #2311385) | Borderou de evaluare (job #3253339) | Borderou de evaluare (job #2806524) | Borderou de evaluare (job #855647) | Borderou de evaluare (job #2308883)
Borderou de evaluare (job #2308883)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:25:20: warning: left operand of comma operator has no effect [-Wunused-value]
for (i=M,j=N;i,j;)
^
main.cpp:36:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (i=lun;i;--i)
^~~
main.cpp:38:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
return 0;
^~~~~~
main.cpp:12:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cmlsc.in","r",stdin);
^
main.cpp:13:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cmlsc.out","w",stdout);
^
main.cpp:14:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&M,&N);
^
main.cpp:16:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &A[i]);
^
main.cpp:18:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &B[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Raspuns corect! | 10 |
2 | 2ms | 131kb | Killed by Signal 11 | 0 |
3 | 2ms | 131kb | Killed by Signal 11 | 0 |
4 | 5ms | 917kb | Killed by Signal 11 | 0 |
5 | 4ms | 1179kb | Killed by Signal 11 | 0 |
6 | 9ms | 2228kb | Raspuns corect! | 10 |
7 | 16ms | 4194kb | Killed by Signal 11 | 0 |
8 | 15ms | 3801kb | Killed by Signal 11 | 0 |
9 | 16ms | 4194kb | Raspuns corect! | 10 |
10 | 14ms | 3407kb | Raspuns corect! | 10 |
Punctaj total | 40 |