Pagini recente » Borderou de evaluare (job #2282533) | Borderou de evaluare (job #1443882) | Borderou de evaluare (job #1758169) | Borderou de evaluare (job #710524) | Borderou de evaluare (job #1885809)
Borderou de evaluare (job #1885809)
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 | 256kb | OK | 10 |
2 | 0ms | 252kb | OK | 10 |
3 | 0ms | 248kb | OK | 10 |
4 | 144ms | 1424kb | OK | 10 |
5 | 152ms | 1424kb | OK | 10 |
6 | 148ms | 1428kb | OK | 10 |
7 | 136ms | 1320kb | OK | 10 |
8 | 152ms | 1424kb | OK | 10 |
9 | 152ms | 1428kb | OK | 10 |
10 | 148ms | 1428kb | OK | 10 |
Punctaj total | 100 |