Borderou de evaluare (job #1518592)

Utilizator antanaAntonia Boca antana Data 5 noiembrie 2015 23:48:32
Problema Abc2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:49:18: warning: NULL used in arithmetic [-Wpointer-arith] if(s[0]==NULL) ^ user.cpp:31:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("abc2.in", "r", stdin); ^ user.cpp:32:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("abc2.out", "w", stdout); ^ user.cpp:35:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c); ^ user.cpp:38:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c); ^ user.cpp:40:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:48:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccUjsasr.o: In function `main': user.cpp:(.text.startup+0x8e): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit1188kbTime limit exceeded.00
2Depăşit1184kbTime limit exceeded.0
3Depăşit1184kbTime limit exceeded.0
4Depăşit1240kbTime limit exceeded.0
5Depăşit1268kbTime limit exceeded.0
6Depăşit1776kbTime limit exceeded.0
7Depăşit5680kbTime limit exceeded.0
8Depăşit10556kbTime limit exceeded.0
9Depăşit10364kbTime limit exceeded.0
10Depăşit9696kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?