Borderou de evaluare (job #1824152)

Utilizator andru47Stefanescu Andru andru47 Data 7 decembrie 2016 14:13:03
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/cc1iXVtR.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ăşit376kbTime limit exceeded.0
2Depăşit404kbTime limit exceeded.0
3Depăşit376kbTime limit exceeded.0
4Depăşit376kbTime limit exceeded.0
5Depăşit396kbTime limit exceeded.0
6Depăşit544kbTime limit exceeded.0
7Depăşit2160kbTime limit exceeded.0
8Depăşit464kbTime limit exceeded.0
9Depăşit396kbTime limit exceeded.0
10Depăşit380kbTime limit exceeded.0
11Depăşit464kbTime limit exceeded.0
12Depăşit488kbTime limit exceeded.0
13Depăşit444kbTime limit exceeded.0
14Depăşit384kbTime limit exceeded.0
15Depăşit580kbTime limit exceeded.0
16Depăşit636kbTime limit exceeded.0
17Depăşit632kbTime limit exceeded.0
18Depăşit984kbTime limit exceeded.0
19Depăşit528kbTime limit exceeded.0
20Depăşit480kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?