Borderou de evaluare (job #1406918)

Utilizator ScoalaVieti_Stapanu_Bossu_BarosanuEchipa Bossilor ScoalaVieti_Stapanu_Bossu_Barosanu Data 29 martie 2015 17:48:20
Problema Tempest Status done
Runda ONIS 2015, Runda 2 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void sol()’: user.cpp:76:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("\n"); ^ user.cpp:79:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(pa); pp = 0; ^ user.cpp:88:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &k); ^ user.cpp:92:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &aa); ^ user.cpp: In function ‘int main()’: user.cpp:108:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tempest.in", "r", stdin); ^ user.cpp:109:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tempest.out", "w", stdout); ^ /tmp/ccbJvxrr.o: In function `sol()': user.cpp:(.text+0xe8): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1980ms16636kbIncorect0
Punctaj total0

Ceva nu functioneaza?