Borderou de evaluare (job #1990280)

Utilizator IulianaBinzarIuliana Binzar IulianaBinzar Data 11 iunie 2017 11:43:18
Problema Numar Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘bool intreg1(int, int)’: user.cpp:23:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:27:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("numar.in","r",stdin); ^ user.cpp:28:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("numar.out","w",stdout); ^ user.cpp:36:9: warning: array subscript is above array bounds [-Warray-bounds] q[k][2]=i;k++; ^ user.cpp:47:27: warning: array subscript is above array bounds [-Warray-bounds] for(m=1;m<=((n*2)-q[i][2]+1);m++){ ^ user.cpp:55:44: warning: array subscript is above array bounds [-Warray-bounds] for(i=1;i<k;i++)cout<<q[i][1]<<' '<<q[i][2]<<endl; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms416kbIncorect0
20ms416kbIncorect0
30ms424kbIncorect0
4Depăşit812kbTime limit exceeded.0
5Depăşit1352kbTime limit exceeded.0
616ms392kbKilled by signal 11(SIGSEGV).0
7Depăşit392kbTime limit exceeded.0
8Depăşit392kbTime limit exceeded.0
9Depăşit388kbTime limit exceeded.0
10Depăşit388kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?