Pagini recente » Cod sursa (job #3353901) | Borderou de evaluare (job #1325139) | Borderou de evaluare (job #1681618) | Borderou de evaluare (job #2667214) | Borderou de evaluare (job #1547345)
Borderou de evaluare (job #1547345)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:44:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("monezi.in","r",stdin);
^
user.cpp:45:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("monezi.out","w",stdout);
^
user.cpp:46:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&s);
^
user.cpp:47:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++) scanf("%d",&a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | Depăşit | 244kb | Time limit exceeded. | 0 |
| 2 | Depăşit | 240kb | Time limit exceeded. | 0 |
| 3 | Depăşit | 244kb | Time limit exceeded. | 0 |
| 4 | Depăşit | 248kb | Time limit exceeded. | 0 |
| 5 | 4ms | 268kb | OK | 10 |
| 6 | 4ms | 268kb | OK | 10 |
| 7 | 0ms | 268kb | OK | 10 |
| 8 | 4ms | 264kb | OK | 10 |
| 9 | 0ms | 264kb | OK | 10 |
| 10 | 0ms | 264kb | OK | 10 |
| Punctaj total | 60 |