Pagini recente » Cod sursa (job #115973) | Cod sursa (job #2849012) | Cod sursa (job #3152131) | Cod sursa (job #589575) | Borderou de evaluare (job #1296585)
Borderou de evaluare (job #1296585)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("saracsaurege.in","r",stdin);
^
user.cpp:34:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("saracsaurege.out","w",stdout);
^
user.cpp:36:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m); k=(int)sqrt(n);
^
user.cpp:40:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]); arb[i]=max(arb[i-1],a[i]);
^
user.cpp:47:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 296kb | OK | 10 |
| 2 | 0ms | 308kb | OK | 10 |
| 3 | Depăşit | 376kb | Time limit exceeded. | 0 |
| 4 | 832ms | 308kb | OK | 10 |
| 5 | 372ms | 680kb | OK | 10 |
| 6 | 196ms | 684kb | OK | 10 |
| 7 | Depăşit | 672kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 680kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 676kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 676kb | Time limit exceeded. | 0 |
| Punctaj total | 50 |