Pagini recente » Borderou de evaluare (job #2669228) | Borderou de evaluare (job #2393359) | Borderou de evaluare (job #602762) | Borderou de evaluare (job #2235861) | Borderou de evaluare (job #2011958)
Borderou de evaluare (job #2011958)
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 | 272kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 280kb | OK | 10 |
4 | 0ms | 280kb | OK | 10 |
5 | 0ms | 276kb | OK | 10 |
6 | 8ms | 396kb | OK | 10 |
7 | 4ms | 412kb | OK | 10 |
8 | Depăşit | 1440kb | Time limit exceeded. | 0 |
9 | Depăşit | 1276kb | Time limit exceeded. | 0 |
10 | Depăşit | 1412kb | Time limit exceeded. | 0 |
Punctaj total | 70 |