Borderou de evaluare (job #2014096)

Utilizator DruffbaumPopescu Vlad Druffbaum Data 22 august 2017 21:33:38
Problema Restante Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("restante.in", "r", stdin); ^ user.cpp:14:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:16:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(c); ^ /tmp/ccc9Znam.o: In function `main': user.cpp:(.text.startup+0x70): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms528kbKilled by signal 6(SIGABRT).0
20ms420kbIncorect0
30ms528kbKilled by signal 6(SIGABRT).0
40ms524kbKilled by signal 6(SIGABRT).0
50ms528kbKilled by signal 6(SIGABRT).0
60ms528kbKilled by signal 6(SIGABRT).0
70ms528kbKilled by signal 6(SIGABRT).0
80ms524kbKilled by signal 6(SIGABRT).0
90ms528kbKilled by signal 6(SIGABRT).0
100ms528kbKilled by signal 6(SIGABRT).0
Punctaj total0

Ceva nu functioneaza?