Pagini recente » Borderou de evaluare (job #1427610) | Borderou de evaluare (job #1808831) | Borderou de evaluare (job #2914753) | Cod sursa (job #747955) | Borderou de evaluare (job #1778670)
Borderou de evaluare (job #1778670)
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 | 448kb | Cool! | 10 |
| 2 | 0ms | 440kb | Cool! | 10 |
| 3 | 0ms | 452kb | Cool! | 10 |
| 4 | 64ms | 460kb | Cool! | 10 |
| 5 | 92ms | 464kb | Cool! | 10 |
| 6 | 380ms | 484kb | Cool! | 10 |
| 7 | Depăşit | 480kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 480kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 536kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 540kb | Time limit exceeded. | 0 |
| Punctaj total | 60 |