Borderou de evaluare (job #1231897)

Utilizator BlueStrutAndrei Prahoveanu BlueStrut Data 21 septembrie 2014 18:14:41
Problema Bancomat Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bancomat.in","r",stdin); ^ user.cpp:8:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bancomat.out","w",stdout); ^ user.cpp:9:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ user.cpp:11:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (i=1;i<=6;i++) scanf("%d", &a[i]); ^ user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ok=true; ^ user.cpp:14:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &val[i]); ^ user.cpp:21:35: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] if (val[i]>0) {gets(s); ok=false;} ^ /tmp/cc9c5cwz.o: In function `main': user.cpp:(.text.startup+0x2d9): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
184ms304kbKilled by signal 11(SIGSEGV).00
2Depăşit300kbTime limit exceeded.0
388ms304kbKilled by signal 11(SIGSEGV).0
4192ms308kbKilled by signal 11(SIGSEGV).0
5196ms304kbKilled by signal 11(SIGSEGV).0
692ms300kbKilled by signal 11(SIGSEGV).0
7144ms304kbKilled by signal 11(SIGSEGV).0
880ms308kbKilled by signal 11(SIGSEGV).0
9244ms304kbKilled by signal 11(SIGSEGV).0
10284ms304kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?