Pagini recente » Borderou de evaluare (job #604047) | Borderou de evaluare (job #1735552) | Borderou de evaluare (job #1060338) | Borderou de evaluare (job #2073761) | Borderou de evaluare (job #1693395)
Borderou de evaluare (job #1693395)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:83:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f, "%d", &val[i]);
^
user.cpp:77:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rest.out", "w", stdout);
^
user.cpp:80:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d %d", &N, &B, &P);
^
user.cpp:83:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &val[i]);
^
user.cpp:90:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &M);
^
user.cpp:92:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d %d", &task, &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 264kb | OK | 10 | 100 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 |
4 | 16ms | 364kb | OK | 10 |
5 | 48ms | 496kb | OK | 10 |
6 | 232ms | 1168kb | OK | 10 |
7 | 232ms | 1168kb | OK | 10 |
8 | 588ms | 2252kb | OK | 10 |
9 | 588ms | 2252kb | OK | 10 |
10 | 588ms | 2252kb | OK | 10 |
Punctaj total | 100 |