Pagini recente » Borderou de evaluare (job #1851251) | Borderou de evaluare (job #794753) | Borderou de evaluare (job #2003117) | Borderou de evaluare (job #471462) | Borderou de evaluare (job #1778672)
Borderou de evaluare (job #1778672)
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 | 456kb | Cool! | 10 |
2 | 0ms | 448kb | Cool! | 10 |
3 | 0ms | 456kb | Cool! | 10 |
4 | 60ms | 468kb | Cool! | 10 |
5 | 68ms | 476kb | Cool! | 10 |
6 | 292ms | 500kb | Cool! | 10 |
7 | 564ms | 528kb | Cool! | 10 |
8 | Depăşit | 488kb | Time limit exceeded. | 0 |
9 | Depăşit | 544kb | Time limit exceeded. | 0 |
10 | Depăşit | 544kb | Time limit exceeded. | 0 |
Punctaj total | 70 |