Pagini recente » Borderou de evaluare (job #2934454) | Borderou de evaluare (job #2148978) | Borderou de evaluare (job #433669) | Borderou de evaluare (job #103004) | Borderou de evaluare (job #2497870)
Borderou de evaluare (job #2497870)
Raport evaluator
Compilare:
main.cpp: In function 'int corect(int, int)':
main.cpp:11:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(verif[nr][nota]==1)
^~
main.cpp:13:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
return 0;
^~~~~~
main.cpp: In function 'int main()':
main.cpp:23:39: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'char*' [-Wformat=]
scanf("%d", &voci[i][j]);
^
main.cpp:24:35: warning: array subscript has type 'char' [-Wchar-subscripts]
verif[j][voci[i][j]]=1;
^
main.cpp:28:30: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'char*' [-Wformat=]
scanf("%d", &sol[i]);
^
main.cpp:17:30: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("note.in","r",stdin);
^
main.cpp:18:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("note.out","w",stdout);
^
main.cpp:20:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &v, &n);
^
main.cpp:23:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &voci[i][j]);
^
main.cpp:26:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
main.cpp:28:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &sol[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 3ms | 393kb | OK | 10 |
3 | 3ms | 393kb | OK | 10 |
4 | 3ms | 655kb | OK | 10 |
5 | 16ms | 1179kb | OK | 10 |
6 | 61ms | 5636kb | OK | 10 |
7 | 150ms | 4194kb | Time limit exceeded | 0 |
8 | 26ms | 5505kb | OK | 10 |
9 | 139ms | 5898kb | OK | 10 |
10 | 21ms | 5373kb | OK | 10 |
Punctaj total | 90 |