Pagini recente » Borderou de evaluare (job #523648) | Borderou de evaluare (job #17398) | Borderou de evaluare (job #1393278) | Borderou de evaluare (job #1507166) | Borderou de evaluare (job #1399663)
Borderou de evaluare (job #1399663)
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:77:21: warning: unused variable ‘m’ [-Wunused-variable]
int n, i, papi, m, nQueries, nEvents, day, ev;
^
user.cpp:75: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:76: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:79:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:81:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &papi);
^
user.cpp:84:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nEvents);
^
user.cpp:92:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nQueries);
^
user.cpp:96: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 | 1468kb | OK | 5 |
2 | 0ms | 1468kb | Raspuns gresit | 0 |
3 | 0ms | 1464kb | Raspuns gresit | 0 |
4 | 0ms | 1472kb | Raspuns gresit | 0 |
5 | 0ms | 1472kb | Raspuns gresit | 0 |
6 | 24ms | 1996kb | Raspuns gresit | 0 |
7 | 20ms | 2204kb | Raspuns gresit | 0 |
8 | 52ms | 2784kb | Raspuns gresit | 0 |
9 | 60ms | 3592kb | Raspuns gresit | 0 |
10 | 88ms | 4600kb | Raspuns gresit | 0 |
11 | 176ms | 5756kb | Raspuns gresit | 0 |
12 | 84ms | 5708kb | Killed by signal 11(SIGSEGV). | 0 |
13 | 112ms | 6016kb | Killed by signal 11(SIGSEGV). | 0 |
14 | 120ms | 6456kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 5 |