Pagini recente » Cod sursa (job #505) | Borderou de evaluare (job #1632659) | Cod sursa (job #693308) | Borderou de evaluare (job #2716603) | Borderou de evaluare (job #1257025)
Borderou de evaluare (job #1257025)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("sobo.in","r",stdin);
^
user.cpp:15:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("sobo.out","w",stdout);
^
user.cpp:16:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n,&l);
^
user.cpp:17:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;++i) scanf("%s", (a[i]+1));
^
user.cpp:18:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=l;++i) scanf("%d", &cost[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | Cool! | 10 |
| 2 | 0ms | 264kb | Cool! | 10 |
| 3 | 0ms | 284kb | Cool! | 10 |
| 4 | 4ms | 288kb | Cool! | 10 |
| 5 | 8ms | 300kb | Cool! | 10 |
| 6 | 40ms | 320kb | Cool! | 10 |
| 7 | 76ms | 348kb | Cool! | 10 |
| 8 | 116ms | 348kb | Cool! | 10 |
| 9 | 240ms | 420kb | Cool! | 10 |
| 10 | 236ms | 416kb | Cool! | 10 |
| Punctaj total | 100 |