Borderou de evaluare (job #1278095)

Utilizator marabaMara Branza maraba Data 28 noiembrie 2014 15:06:42
Problema Scara 3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 25

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:39:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (cts[nod1][nod2]>1000000-100*(nod2-nod1)+i1) ^ user.cpp:42:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (cts[nod1][nod2+1]>1000000-100*(nod2-nod1+1)+i1) ^ user.cpp:7:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] {freopen("scara3.in","r",stdin); ^ user.cpp:8:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("scara3.out","w",stdout); ^ user.cpp:10:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:17:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&k); ^ user.cpp:20:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&p,&x); ^ user.cpp:26:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&j); ^ user.cpp:29:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&p,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms604kbOK5
20ms288kbOK5
30ms312kbOK5
40ms480kbOK5
50ms480kbOK5
60msDepăşitMemory limit exceeded.0
70msDepăşitMemory limit exceeded.0
80msDepăşitMemory limit exceeded.0
90msDepăşitMemory limit exceeded.0
100msDepăşitMemory limit exceeded.0
114msDepăşitMemory limit exceeded.0
124msDepăşitMemory limit exceeded.0
134msDepăşitMemory limit exceeded.0
148msDepăşitMemory limit exceeded.0
158msDepăşitMemory limit exceeded.0
168msDepăşitMemory limit exceeded.0
178msDepăşitMemory limit exceeded.0
188msDepăşitMemory limit exceeded.0
198msDepăşitMemory limit exceeded.0
208msDepăşitMemory limit exceeded.0
Punctaj total25

Ceva nu functioneaza?