Pagini recente » Borderou de evaluare (job #1003006) | Borderou de evaluare (job #1999296) | Borderou de evaluare (job #1976714) | Borderou de evaluare (job #1977094) | Borderou de evaluare (job #1886687)
Borderou de evaluare (job #1886687)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35: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:36: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:37:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:40:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i].nr);
^
user.cpp:45:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q);
^
user.cpp:48:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&c,&pp);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | OK | 10 |
2 | 0ms | 252kb | OK | 10 |
3 | 0ms | 252kb | OK | 10 |
4 | 144ms | 1424kb | OK | 10 |
5 | 152ms | 1428kb | OK | 10 |
6 | 152ms | 1428kb | OK | 10 |
7 | 136ms | 1312kb | OK | 10 |
8 | 156ms | 1432kb | OK | 10 |
9 | 152ms | 1432kb | OK | 10 |
10 | 156ms | 1432kb | OK | 10 |
Punctaj total | 100 |