Pagini recente » Borderou de evaluare (job #2553368) | Borderou de evaluare (job #1710853) | Borderou de evaluare (job #3112767) | Borderou de evaluare (job #1803945) | Borderou de evaluare (job #1778634)
Borderou de evaluare (job #1778634)
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 | 448kb | Cool! | 10 |
3 | 0ms | 456kb | Cool! | 10 |
4 | 56ms | 460kb | Cool! | 10 |
5 | 72ms | 480kb | Cool! | 10 |
6 | 332ms | 500kb | Cool! | 10 |
7 | 636ms | 532kb | Cool! | 10 |
8 | Depăşit | 484kb | Time limit exceeded. | 0 |
9 | Depăşit | 540kb | Time limit exceeded. | 0 |
10 | Depăşit | 544kb | Time limit exceeded. | 0 |
Punctaj total | 70 |