Borderou de evaluare (job #1824154)

Utilizator andru47Stefanescu Andru andru47 Data 7 decembrie 2016 14:14:50
Problema Expresie2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int solve(int)’: user.cpp:63:54: warning: operation on ‘copie’ may be undefined [-Wsequence-point] if (s[p]=='(')++p,v[++copie] = solve(copie+1); ^ user.cpp:64:59: warning: operation on ‘copie’ may be undefined [-Wsequence-point] else if (s[p]=='[')++p,v[++copie] = solve(copie+1); ^ user.cpp: In function ‘int main()’: user.cpp:73: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:74: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:76:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); ^ /tmp/ccYppyrC.o: In function `main': user.cpp:(.text.startup+0x53): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit360kbTime limit exceeded.0
2Depăşit380kbTime limit exceeded.0
3Depăşit364kbTime limit exceeded.0
4Depăşit364kbTime limit exceeded.0
5Depăşit380kbTime limit exceeded.0
6Depăşit524kbTime limit exceeded.0
7Depăşit2136kbTime limit exceeded.0
8Depăşit448kbTime limit exceeded.0
9Depăşit376kbTime limit exceeded.0
10Depăşit368kbTime limit exceeded.0
11Depăşit444kbTime limit exceeded.0
12Depăşit468kbTime limit exceeded.0
13Depăşit428kbTime limit exceeded.0
14Depăşit376kbTime limit exceeded.0
15Depăşit564kbTime limit exceeded.0
16Depăşit624kbTime limit exceeded.0
17Depăşit612kbTime limit exceeded.0
18Depăşit968kbTime limit exceeded.0
19Depăşit516kbTime limit exceeded.0
20Depăşit464kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?