Borderou de evaluare (job #1845496)

Utilizator Dragne.Andrei11Dragne Andrei Dragne.Andrei11 Data 11 ianuarie 2017 16:34:31
Problema Texttrim Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("texttrim.in", "r", stdin); ^ user.cpp:14:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("texttrim.out", "w", stdout); ^ user.cpp:18:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &v[i]); ^ user.cpp:19:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("\n"); ^ user.cpp:20:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:21:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("\n%lld\n", &w); ^ /tmp/ccluQhbJ.o: In function `main': user.cpp:(.text.startup+0x87): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms324kbKilled by signal 6(SIGABRT).00
20ms324kbKilled by signal 6(SIGABRT).0
30ms264kbOK10
40ms324kbKilled by signal 6(SIGABRT).0
50ms320kbKilled by signal 6(SIGABRT).0
60ms320kbKilled by signal 6(SIGABRT).0
70ms320kbKilled by signal 6(SIGABRT).0
80ms320kbKilled by signal 6(SIGABRT).0
90ms324kbKilled by signal 6(SIGABRT).0
100ms320kbKilled by signal 6(SIGABRT).0
Punctaj total0

Ceva nu functioneaza?