Pagini recente » Borderou de evaluare (job #1682449) | Cod sursa (job #353383) | Borderou de evaluare (job #1650457) | Cod sursa (job #46642) | Borderou de evaluare (job #2624674)
Borderou de evaluare (job #2624674)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:21:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if (i>0)
^
main.cpp:13:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("jmenoasa.in","r",stdin);
^
main.cpp:14:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("jmenoasa.out","w",stdout);
^
main.cpp:15:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n,&m);
^
main.cpp:19:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",a[Lnew]+i);
^
main.cpp:41:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",a[Lnew]+j);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 3ms | 131kb | OK | 10 |
| 3 | 6ms | 131kb | OK | 10 |
| 4 | 101ms | 131kb | OK | 10 |
| 5 | 190ms | 131kb | OK | 10 |
| 6 | 232ms | 131kb | OK | 10 |
| 7 | 253ms | 131kb | Time limit exceeded | 0 |
| 8 | 251ms | 131kb | Time limit exceeded | 0 |
| 9 | 250ms | 131kb | Time limit exceeded | 0 |
| 10 | 252ms | 131kb | Time limit exceeded | 0 |
| Punctaj total | 60 |