Pagini recente » Borderou de evaluare (job #1393949) | Borderou de evaluare (job #2743848) | Borderou de evaluare (job #2958787) | Borderou de evaluare (job #3145266) | Borderou de evaluare (job #1863387)
Borderou de evaluare (job #1863387)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("costuri.in", "r", stdin);
^
user.cpp:36:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("costuri.out", "w", stdout);
^
user.cpp:38:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:42:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.cpp:48:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
user.cpp:52:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &P, &C);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1220kb | OK | 10 |
2 | 0ms | 1220kb | OK | 10 |
3 | 0ms | 1224kb | OK | 10 |
4 | 128ms | 1608kb | OK | 10 |
5 | 140ms | 1608kb | OK | 10 |
6 | 136ms | 1604kb | OK | 10 |
7 | 124ms | 1572kb | OK | 10 |
8 | 136ms | 1604kb | OK | 10 |
9 | 136ms | 1604kb | OK | 10 |
10 | 132ms | 1604kb | OK | 10 |
Punctaj total | 100 |