Pagini recente » Borderou de evaluare (job #585459) | Borderou de evaluare (job #422151) | Borderou de evaluare (job #1971153) | Borderou de evaluare (job #669019) | Borderou de evaluare (job #1399667)
Borderou de evaluare (job #1399667)
Raport evaluator
Compilare:
user.cpp: In member function ‘void EVENT::read()’:
user.cpp:20:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘bool*’ [-Wformat=]
scanf("%d%d%d", &day, &node, &val);
^
user.cpp: In function ‘int main()’:
user.cpp:79:21: warning: unused variable ‘m’ [-Wunused-variable]
int n, i, papi, m, nQueries, nEvents, day, ev;
^
user.cpp:77:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("curent.in", "r", stdin);
^
user.cpp:78:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("curent.out", "w", stdout);
^
user.cpp:81:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:83:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &papi);
^
user.cpp:86:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nEvents);
^
user.cpp:94:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nQueries);
^
user.cpp:98:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &day);
^
user.cpp: In member function ‘void EVENT::read()’:
user.cpp:20:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &day, &node, &val);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1472kb | OK | 5 |
2 | 0ms | 1472kb | OK | 5 |
3 | 0ms | 1468kb | OK | 5 |
4 | 0ms | 1468kb | OK | 5 |
5 | 0ms | 1472kb | OK | 5 |
6 | 20ms | 1928kb | OK | 5 |
7 | 20ms | 2080kb | OK | 5 |
8 | 48ms | 2656kb | OK | 5 |
9 | 60ms | 3336kb | OK | 10 |
10 | 88ms | 4088kb | OK | 10 |
11 | 164ms | 5240kb | OK | 10 |
12 | 204ms | 5968kb | OK | 10 |
13 | 224ms | 6432kb | OK | 10 |
14 | 244ms | 6840kb | OK | 10 |
Punctaj total | 100 |