Pagini recente » Borderou de evaluare (job #1053069) | Borderou de evaluare (job #691766) | Borderou de evaluare (job #2570791) | Borderou de evaluare (job #386557) | Borderou de evaluare (job #1445510)
Borderou de evaluare (job #1445510)
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 (*)[208099]’ [-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 | 640kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |