Borderou de evaluare (job #1373378)

Utilizator georgeliviuPereteanu George georgeliviu Data 4 martie 2015 18:20:44
Problema Expresie2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:30:26: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if ( v[i] >= '0' && v[i] <= '9' || v[i] =='-' ) ^ user.cpp:12:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("expresie2.in","r",stdin); ^ user.cpp:13:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("expresie2.out","w",stdout); ^ user.cpp:15:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(v); ^ /tmp/ccOu8V6q.o: In function `main': user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit216kbTime limit exceeded.0
2Depăşit244kbTime limit exceeded.0
3Depăşit232kbTime limit exceeded.0
4Depăşit228kbTime limit exceeded.0
5Depăşit248kbTime limit exceeded.0
6Depăşit244kbTime limit exceeded.0
70ms412kbKilled by signal 6(SIGABRT).0
8Depăşit252kbTime limit exceeded.0
9Depăşit240kbTime limit exceeded.0
10Depăşit236kbTime limit exceeded.0
11Depăşit304kbTime limit exceeded.0
12Depăşit328kbTime limit exceeded.0
13Depăşit292kbTime limit exceeded.0
140ms428kbKilled by signal 11(SIGSEGV).0
150ms408kbKilled by signal 6(SIGABRT).0
16Depăşit484kbTime limit exceeded.0
170ms412kbKilled by signal 6(SIGABRT).0
18Depăşit392kbTime limit exceeded.0
19Depăşit380kbTime limit exceeded.0
20Depăşit328kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?