Pagini recente » Cod sursa (job #2985284) | Borderou de evaluare (job #454736) | Cod sursa (job #3269910) | Borderou de evaluare (job #1201295) | Borderou de evaluare (job #1800317)
Borderou de evaluare (job #1800317)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:79:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("concurs.in", "r", stdin);
^
user.cpp:80:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("concurs.out", "w", stdout);
^
user.cpp:85:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &q);
^
user.cpp:88:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cost[i]);
^
user.cpp:97:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
user.cpp:108:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 304kb | OK | 10 |
2 | 0ms | 308kb | OK | 10 |
3 | 0ms | 384kb | OK | 10 |
4 | 4ms | 588kb | OK | 10 |
5 | 4ms | 588kb | OK | 10 |
6 | 16ms | 1224kb | OK | 10 |
7 | 460ms | 4012kb | OK | 10 |
8 | 28ms | 2172kb | Incorect | 0 |
9 | 380ms | 3076kb | OK | 10 |
10 | 584ms | 3164kb | OK | 10 |
Punctaj total | 90 |