Borderou de evaluare (job #1843558)

Utilizator passwordCiaciru Ana Maria password Data 8 ianuarie 2017 21:35:16
Problema 3color Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void sol()’: user.cpp:28:80: warning: statement has no effect [-Wunused-value] if(G[i].empty()) {int v; v=s[nrs-1]-'0'; v++; f[i]=v; s[nrs]=v+'0'; s[nrs+1]; fprintf(g1,"%d ",v); } ^ user.cpp:39:91: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] if(strchr(s,c)==NULL) {f[i]=p;fprintf(g1,"%d ",p); nrs++; s[nrs-1]=c; s[nrs]=NULL;} ^ user.cpp:45:85: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] if(strchr(s,c)==NULL) {f[i]=p; fprintf(g1,"%d ",p); nrs++; s[nrs-1]=c; s[nrs]=NULL;} ^ user.cpp: In function ‘void read()’: user.cpp:17:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1,"%d%d",&n,&m); ^ user.cpp:19:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] {fscanf(f1,"%d%d",&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit456kbTime limit exceeded.0
2Depăşit468kbTime limit exceeded.0
3Depăşit528kbTime limit exceeded.0
4Depăşit528kbTime limit exceeded.0
5Depăşit596kbTime limit exceeded.0
6Depăşit600kbTime limit exceeded.0
7Depăşit592kbTime limit exceeded.0
8Depăşit596kbTime limit exceeded.0
9Depăşit596kbTime limit exceeded.0
10Depăşit600kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?