Pagini recente » Borderou de evaluare (job #1457340) | Borderou de evaluare (job #838267) | Borderou de evaluare (job #1105449) | Borderou de evaluare (job #313845) | Borderou de evaluare (job #2173060)
Borderou de evaluare (job #2173060)
Raport evaluator
Compilare:
user.cpp: In function ‘void back(long int)’:
user.cpp:29:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf (fout, "%d ", st[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:44:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf (fin, "%d%d%d", &n, &K, &d);
^
user.cpp:44:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:44:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long int*’ [-Wformat=]
user.cpp:46:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf (fin, "%d", &x[i][0]);
^
user.cpp:48:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf (fin, "%d", &x[i][j]);
^
user.cpp:44:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin, "%d%d%d", &n, &K, &d);
^
user.cpp:46:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin, "%d", &x[i][0]);
^
user.cpp:48:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin, "%d", &x[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2968kb | OK | 10 |
2 | 4ms | 2944kb | OK | 10 |
3 | 4ms | 2684kb | OK | 10 |
4 | Depăşit | 2884kb | Time limit exceeded. | 0 |
5 | 4ms | 2796kb | OK | 10 |
6 | 20ms | 2968kb | OK | 10 |
7 | 4ms | 2640kb | OK | 10 |
8 | Depăşit | 2696kb | Time limit exceeded. | 0 |
9 | 48ms | 2800kb | OK | 10 |
10 | 4ms | 2876kb | OK | 10 |
Punctaj total | 80 |