Borderou de evaluare (job #1853669)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:90:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d %d", &k, &n, &m);
^
user.cpp:90:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:90:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:92:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &dk[i]);
^
user.cpp:87:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gather.in", "r", stdin);
^
user.cpp:88:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gather.out", "w", stdout);
^
user.cpp:90:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &k, &n, &m);
^
user.cpp:92:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &dk[i]);
^
user.cpp:97:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &a, &b, &c, &d);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 492kb | OK | 10 |
2 | 0ms | 544kb | OK | 10 |
3 | 0ms | 728kb | OK | 10 |
4 | 4ms | 2516kb | OK | 10 |
5 | 24ms | 6260kb | OK | 10 |
6 | 28ms | 8676kb | OK | 10 |
7 | 40ms | 8820kb | OK | 10 |
8 | 84ms | 9740kb | OK | 10 |
9 | 212ms | 12804kb | OK | 10 |
10 | 212ms | 12776kb | OK | 10 |
Punctaj total | 100 |