Pagini recente » Borderou de evaluare (job #2813758) | Borderou de evaluare (job #1694104) | Borderou de evaluare (job #1914796) | Borderou de evaluare (job #2408695) | Borderou de evaluare (job #2726022)
Borderou de evaluare (job #2726022)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:26:32: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(f, "%d %d\n", &n, &m);
^
main.cpp:26:32: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
main.cpp:30:36: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(f, "%d %d\n", &x, &y);
^
main.cpp:30:36: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
main.cpp:38:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
fprintf(g, "%d\n", ans);
^
main.cpp:26:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d\n", &n, &m);
^
main.cpp:30:37: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d\n", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Corect! | 6 |
2 | 2ms | 131kb | Corect! | 7 |
3 | 3ms | 262kb | Corect! | 10 |
4 | 3ms | 393kb | Corect! | 10 |
5 | 4ms | 655kb | Corect! | 10 |
6 | 4ms | 655kb | Corect! | 10 |
7 | 3ms | 131kb | Killed by Signal 11 | 0 |
8 | 2ms | 131kb | Killed by Signal 11 | 0 |
9 | 3ms | 131kb | Killed by Signal 11 | 0 |
10 | 3ms | 131kb | Killed by Signal 11 | 0 |
11 | 3ms | 131kb | Killed by Signal 11 | 0 |
Punctaj total | 53 |