Borderou de evaluare (job #1827441)

Utilizator aeromaniaXRadoi Iulian aeromaniaX Data 11 decembrie 2016 20:35:59
Problema Texttrim Status done
Runda x_test4 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:33:26: warning: operation on ‘i’ may be undefined [-Wsequence-point] v[++i]=v[i-1]+a[x]; ^ user.cpp:46:15: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] s[j+1]=NULL; ^ user.cpp:48:17: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] s[j]=NULL; ^ user.cpp: In function ‘void fix()’: user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("1000001.in","r",stdin); ^ user.cpp:9:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("1000001.out","w",stdout); ^ user.cpp: In function ‘int main()’: user.cpp:15:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i]); ^ user.cpp:16:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("\n"); ^ user.cpp:18:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&c); ^ user.cpp:27:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&c); ^ user.cpp:36:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&c); ^ user.cpp:39:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&w); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit5240kbTime limit exceeded.00
2Depăşit5240kbTime limit exceeded.0
3Depăşit5244kbTime limit exceeded.0
4Depăşit5240kbTime limit exceeded.0
5Depăşit5240kbTime limit exceeded.0
6Depăşit5236kbTime limit exceeded.0
7Depăşit5236kbTime limit exceeded.0
8Depăşit5240kbTime limit exceeded.0
9Depăşit5236kbTime limit exceeded.0
10Depăşit5240kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?