Pagini recente » Borderou de evaluare (job #719919) | Borderou de evaluare (job #229279) | Borderou de evaluare (job #913722) | Borderou de evaluare (job #2137864) | Borderou de evaluare (job #1863163)
Borderou de evaluare (job #1863163)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:36: 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:18:38: 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:21:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:23:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i].val);
^
user.cpp:37:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q);
^
user.cpp:39:28: 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 | 432kb | OK | 10 |
2 | 0ms | 436kb | OK | 10 |
3 | 0ms | 436kb | OK | 10 |
4 | 140ms | 1592kb | OK | 10 |
5 | 148ms | 1600kb | OK | 10 |
6 | 148ms | 1604kb | OK | 10 |
7 | 132ms | 1484kb | OK | 10 |
8 | 152ms | 1600kb | OK | 10 |
9 | 152ms | 1604kb | OK | 10 |
10 | 152ms | 1600kb | OK | 10 |
Punctaj total | 100 |