Borderou de evaluare (job #1470961)

Utilizator theprdvtheprdv theprdv Data 12 august 2015 18:48:50
Problema Per Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:40:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("per.in", "r", stdin); ^ user.cpp:41:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("per.out", "w", stdout); ^ user.cpp:43:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &N, &K); ^ user.cpp:44:9: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(A); ^ /tmp/ccxobKIl.o: In function `main': user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms340kbOK100
228ms1000kbKilled by signal 11(SIGSEGV).0
324ms1000kbKilled by signal 11(SIGSEGV).0
424ms1000kbKilled by signal 11(SIGSEGV).0
536ms1004kbKilled by signal 11(SIGSEGV).0
636ms1004kbKilled by signal 11(SIGSEGV).0
720ms1000kbKilled by signal 11(SIGSEGV).0
824ms1004kbKilled by signal 11(SIGSEGV).0
924ms1004kbKilled by signal 11(SIGSEGV).0
100ms424kbOK10
Punctaj total0

Ceva nu functioneaza?