Pagini recente » Borderou de evaluare (job #2622359) | Borderou de evaluare (job #3248615) | Borderou de evaluare (job #3036559) | Borderou de evaluare (job #1162101) | Borderou de evaluare (job #2744284)
Borderou de evaluare (job #2744284)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:14:20: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'int' [-Wformat=]
fscanf(fp, "%d", s);
^
main.cpp:18:21: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'int' [-Wformat=]
fscanf(fp, "%d", m);
^
main.cpp:10:6: warning: unused variable 'n' [-Wunused-variable]
int n, nr, maximum=0, winningValue = -1;
^
main.cpp:10:9: warning: unused variable 'nr' [-Wunused-variable]
int n, nr, maximum=0, winningValue = -1;
^~
main.cpp:14:21: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%d", s);
^
main.cpp:18:22: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%d", m);
^
main.cpp:14:21: warning: 's' is used uninitialized in this function [-Wuninitialized]
fscanf(fp, "%d", s);
^
main.cpp:17:7: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized]
int m;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | Killed by Signal 11 | 0 | 0 |
2 | 2ms | 131kb | Killed by Signal 11 | 0 |
3 | 2ms | 131kb | Killed by Signal 11 | 0 |
4 | 3ms | 131kb | Killed by Signal 11 | 0 |
5 | 2ms | 131kb | Killed by Signal 11 | 0 |
6 | 2ms | 131kb | Killed by Signal 11 | 0 |
7 | 2ms | 131kb | Killed by Signal 11 | 0 |
8 | 2ms | 131kb | Killed by Signal 11 | 0 |
9 | 2ms | 131kb | Killed by Signal 11 | 0 |
10 | 2ms | 131kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |