Pagini recente » Borderou de evaluare (job #333701) | Borderou de evaluare (job #2625628) | Borderou de evaluare (job #2663092) | Borderou de evaluare (job #2054008) | Borderou de evaluare (job #1445503)
Borderou de evaluare (job #1445503)
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 (*)[209011]’ [-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 |