Borderou de evaluare (job #1732850)

Utilizator silkMarin Dragos silk Data 22 iulie 2016 18:30:28
Problema Sudest Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:52:54: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=] for( j = 1; j <= N; ++j ) scanf("%d",&a[i][j]); ^ user.cpp:55:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=] for( i = 1; i <= K; ++i ) scanf("%d",&C[i]); ^ user.cpp:45:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sudest.in","r",stdin); ^ user.cpp:46:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sudest.out","w",stdout); ^ user.cpp:50:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&N); ^ user.cpp:52:55: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for( j = 1; j <= N; ++j ) scanf("%d",&a[i][j]); ^ user.cpp:54:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&K); ^ user.cpp:55:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for( i = 1; i <= K; ++i ) scanf("%d",&C[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit292kbTime limit exceeded.0
20ms296kbOKAY!10
30ms300kbOKAY!10
40ms312kbOKAY!10
50ms316kbOKAY!10
60ms332kbOKAY!10
70ms344kbOKAY!10
80ms344kbOKAY!10
90ms360kbOKAY!10
100ms284kbOKAY!10
Punctaj total90

Ceva nu functioneaza?