Pagini recente » Borderou de evaluare (job #117187) | Borderou de evaluare (job #1976114) | Borderou de evaluare (job #1822692) | Borderou de evaluare (job #2322521) | Borderou de evaluare (job #1445478)
Borderou de evaluare (job #1445478)
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 (*)[100001]’ [-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 | 0ms | 540kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |