Pagini recente » Borderou de evaluare (job #3246187) | Borderou de evaluare (job #2925366) | Borderou de evaluare (job #2888430) | Borderou de evaluare (job #2046587) | Borderou de evaluare (job #1445505)
Borderou de evaluare (job #1445505)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
scanf("%d",&t);
^
user.cpp:14:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[209999]’ [-Wformat=]
scanf("%s",&s);
^
user.cpp:8:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("staropramen.in","r",stdin);
^
user.cpp:9:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("staropramen.out","w",stdout);
^
user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:13:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:14:23: 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 | 20ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |