Borderou de evaluare (job #1966743)
Raport evaluator
Compilare:
user.cpp: In function ‘char readCh()’:
user.cpp:25:53: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(&_Buffer[0], sizeof _Buffer[0], 4096, stdin);
^
user.cpp: In function ‘void citire()’:
user.cpp:106:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &c);
^
user.cpp:110:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cost[i]);
^
user.cpp:115:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &profit[i]);
^
user.cpp:122:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &tmp1, &tmp2);
^
user.cpp: In function ‘int main()’:
user.cpp:185:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spiridusi.in", "r", stdin);
^
user.cpp:186:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spiridusi.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1428kb | OK | 10 |
2 | Depăşit | 9200kb | Time limit exceeded. | 0 |
3 | 0ms | 1468kb | OK | 10 |
4 | 0ms | 1476kb | OK | 10 |
5 | Depăşit | 3640kb | Time limit exceeded. | 0 |
6 | Depăşit | 4940kb | Time limit exceeded. | 0 |
7 | Depăşit | 5596kb | Time limit exceeded. | 0 |
8 | Depăşit | 5588kb | Time limit exceeded. | 0 |
9 | Depăşit | 5800kb | Time limit exceeded. | 0 |
10 | Depăşit | 5816kb | Time limit exceeded. | 0 |
Punctaj total | 30 |