Borderou de evaluare (job #1576170)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:68:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d", &n, &k);
^
user.cpp:68:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:72:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &a[i]);
^
user.cpp:113:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", sol);
^
user.cpp:65:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pikachu.in", "rt", stdin);
^
user.cpp:66:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pikachu.out", "wt", stdout);
^
user.cpp:68:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:72:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 300kb | OK | 10 | 10 |
2 | 0ms | 308kb | OK | 10 | 10 |
3 | 0ms | 316kb | Incorect | 0 | 0 |
4 | 12ms | 612kb | Incorect | 0 | 0 |
5 | 68ms | 1456kb | Incorect | 0 | 0 |
6 | 124ms | 2556kb | OK | 10 |
7 | 176ms | 3100kb | Incorect | 0 |
8 | 304ms | 4752kb | Incorect | 0 | 0 |
9 | 356ms | 5284kb | Incorect | 0 | 0 |
10 | 372ms | 5844kb | Incorect | 0 | 0 |
Punctaj total | 20 |