Borderou de evaluare (job #1373774)

Utilizator georgeliviuPereteanu George georgeliviu Data 4 martie 2015 20:32:43
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/ccMNSkci.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ăşit220kbTime limit exceeded.0
2Depăşit248kbTime limit exceeded.0
3Depăşit228kbTime limit exceeded.0
4Depăşit224kbTime limit exceeded.0
5Depăşit248kbTime limit exceeded.0
6Depăşit244kbTime limit exceeded.0
70ms416kbKilled by signal 6(SIGABRT).0
8Depăşit248kbTime limit exceeded.0
9Depăşit244kbTime limit exceeded.0
10Depăşit232kbTime limit exceeded.0
11Depăşit304kbTime limit exceeded.0
12Depăşit332kbTime limit exceeded.0
13Depăşit292kbTime limit exceeded.0
140ms428kbKilled by signal 11(SIGSEGV).0
150ms416kbKilled by signal 6(SIGABRT).0
16Depăşit480kbTime limit exceeded.0
170ms416kbKilled 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?