Pagini recente » Borderou de evaluare (job #1821089) | Borderou de evaluare (job #2340464) | Borderou de evaluare (job #2431618) | Borderou de evaluare (job #2184708) | Borderou de evaluare (job #1778645)
Borderou de evaluare (job #1778645)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1005]’ [-Wformat=]
scanf("%s",&a[i]);
^
user.cpp:19:33: 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:20:35: 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:21:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&l);
^
user.cpp:24:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:25:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&a[i]);
^
user.cpp:28:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&cost[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 452kb | Cool! | 10 |
| 2 | 0ms | 456kb | Cool! | 10 |
| 3 | 0ms | 464kb | Cool! | 10 |
| 4 | 60ms | 468kb | Cool! | 10 |
| 5 | 64ms | 476kb | Cool! | 10 |
| 6 | 296ms | 500kb | Cool! | 10 |
| 7 | 560ms | 528kb | Cool! | 10 |
| 8 | Depăşit | 484kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 544kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 544kb | Time limit exceeded. | 0 |
| Punctaj total | 70 |