Pagini recente » Borderou de evaluare (job #2738184) | Borderou de evaluare (job #1254609) | Borderou de evaluare (job #1394872) | Borderou de evaluare (job #1364071) | Borderou de evaluare (job #1398384)
Borderou de evaluare (job #1398384)
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:108:21: warning: unused variable ‘m’ [-Wunused-variable]
int n, i, papi, m, nQueries, nEvents, day, ev;
^
user.cpp:106: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:107: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:110:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:112:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &papi);
^
user.cpp:115:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nEvents);
^
user.cpp:123:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nQueries);
^
user.cpp:127: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 | Raspuns gresit | 0 |
2 | 0ms | 1472kb | Raspuns gresit | 0 |
3 | 0ms | 1472kb | OK | 5 |
4 | 0ms | 1472kb | Raspuns gresit | 0 |
5 | 0ms | 1472kb | Raspuns gresit | 0 |
6 | 20ms | 1952kb | Raspuns gresit | 0 |
7 | 24ms | 2588kb | Raspuns gresit | 0 |
8 | 56ms | 2720kb | Raspuns gresit | 0 |
9 | 68ms | 3416kb | Raspuns gresit | 0 |
10 | 108ms | 4320kb | Raspuns gresit | 0 |
11 | 192ms | 5540kb | Raspuns gresit | 0 |
12 | 84ms | 5940kb | Killed by signal 11(SIGSEGV). | 0 |
13 | 104ms | 6008kb | Killed by signal 11(SIGSEGV). | 0 |
14 | 112ms | 6924kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 5 |