Pagini recente » Borderou de evaluare (job #589053) | Borderou de evaluare (job #1456248) | Borderou de evaluare (job #516025) | Borderou de evaluare (job #2409603) | Borderou de evaluare (job #2011954)
Borderou de evaluare (job #2011954)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1000005]’ [-Wformat=]
scanf("%s", &s);
^
user.cpp:10:10: warning: unused variable ‘ch’ [-Wunused-variable]
char ch;
^
user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trompeta.in","r",stdin);
^
user.cpp:13:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trompeta.out","w",stdout);
^
user.cpp:14:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &n, &m);
^
user.cpp:15:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 284kb | OK | 10 |
4 | 0ms | 284kb | OK | 10 |
5 | 0ms | 280kb | OK | 10 |
6 | 8ms | 552kb | OK | 10 |
7 | 4ms | 448kb | OK | 10 |
8 | Depăşit | 3396kb | Time limit exceeded. | 0 |
9 | Depăşit | 4928kb | Time limit exceeded. | 0 |
10 | Depăşit | 3644kb | Time limit exceeded. | 0 |
Punctaj total | 70 |