Pagini recente » Borderou de evaluare (job #1583905) | Borderou de evaluare (job #2339272) | Borderou de evaluare (job #1621391) | Borderou de evaluare (job #1732833) | Borderou de evaluare (job #1936630)
Borderou de evaluare (job #1936630)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("morcovi.in", "r", stdin);
^
user.cpp:15:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("morcovi.out", "w", stdout);
^
user.cpp:16:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:19:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &val[i]);
^
user.cpp:22:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &p);
^
user.cpp:25:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &dist[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 392kb | OK | 10 |
2 | 0ms | 528kb | OK | 10 |
3 | 4ms | 768kb | OK | 10 |
4 | 0ms | 772kb | OK | 10 |
5 | 0ms | 772kb | OK | 10 |
6 | 36ms | 4276kb | OK | 10 |
7 | 56ms | 8268kb | OK | 10 |
8 | 56ms | 8276kb | OK | 10 |
9 | 136ms | 16268kb | OK | 10 |
10 | 180ms | 16268kb | OK | 10 |
Punctaj total | 100 |