Borderou de evaluare (job #1848671)

Utilizator ionanghelinaIonut Anghelina ionanghelina Data 16 ianuarie 2017 14:20:30
Problema Qmatrix Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:28:32: warning: format ‘%c’ expects argument of type ‘char*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%c%d%d",&c,&k,&p); ^ user.cpp:32:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(lin[p].size()>=k) printf("%d\n",lin[p][k-1]); ^ user.cpp:37:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(col[p].size()>=k) printf("%d\n",col[p][k-1]); ^ user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("qmatrix.in","r",stdin); ^ user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("qmatrix.out","w",stdout); ^ user.cpp:9:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d",&n,&x,&y,&q); ^ user.cpp:27:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("\n"); ^ user.cpp:28:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c%d%d",&c,&k,&p); ^ user.cpp:29:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("\n"); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms436kbIncorect0
20ms496kbIncorect0
34ms584kbIncorect0
480ms2900kbIncorect0
560msDepăşitMemory limit exceeded.0
664msDepăşitMemory limit exceeded.0
756msDepăşitMemory limit exceeded.0
856msDepăşitMemory limit exceeded.0
968msDepăşitMemory limit exceeded.0
1056msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?