Pagini recente » Borderou de evaluare (job #1376452) | Borderou de evaluare (job #2577373) | Borderou de evaluare (job #2929783) | Borderou de evaluare (job #1253908) | Borderou de evaluare (job #2255838)
Borderou de evaluare (job #2255838)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1000005]’ [-Wformat=]
scanf("%s", &s);
^
user.cpp:7:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{ freopen("laundering.in", "r",stdin);
^
user.cpp:8:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("laundering.out", "w",stdout);
^
user.cpp:10:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
user.cpp:12:24: 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 | 44ms | 860kb | Incorect | 0 |
Punctaj total | 0 |