Borderou de evaluare (job #1743327)

Utilizator silkMarin Dragos silk Data 17 august 2016 23:07:06
Problema Ksplit Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:2:16: warning: left shift count >= width of type [enabled by default] #define INF 1<<47 ^ user.cpp:19:14: note: in expansion of macro ‘INF’ maxim = -INF; minim = INF; ^ user.cpp:2:16: warning: left shift count >= width of type [enabled by default] #define INF 1<<47 ^ user.cpp:19:27: note: in expansion of macro ‘INF’ maxim = -INF; minim = INF; ^ user.cpp:2:16: warning: left shift count >= width of type [enabled by default] #define INF 1<<47 ^ user.cpp:38:18: note: in expansion of macro ‘INF’ for( minim = INF, temp = 0, i = end + 1; i <= N; ++i ) ^ user.cpp:2:16: warning: left shift count >= width of type [enabled by default] #define INF 1<<47 ^ user.cpp:51:14: note: in expansion of macro ‘INF’ maxim = -INF; minim = INF; ^ user.cpp:2:16: warning: left shift count >= width of type [enabled by default] #define INF 1<<47 ^ user.cpp:51:27: note: in expansion of macro ‘INF’ maxim = -INF; minim = INF; ^ user.cpp:2:16: warning: left shift count >= width of type [enabled by default] #define INF 1<<47 ^ user.cpp:72:19: note: in expansion of macro ‘INF’ for( maxim = -INF, temp = 0, i = end + 1; i <= N; ++i ) ^ user.cpp:85:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",DMax); ^ user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ksplit.in","r",stdin); ^ user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ksplit.out","w",stdout); ^ user.cpp:15:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&N); ^ user.cpp:16:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms284kbOK5
216ms900kbOK5
30ms280kbOK5
40ms308kbOK5
50ms324kbOK5
60ms300kbOK5
70ms348kbOK5
80ms352kbOK5
90ms356kbOK5
104ms428kbOK5
118ms668kbOK5
124ms432kbOK5
138ms512kbIncorect0
1412ms588kbOK5
1516ms660kbIncorect0
1616ms744kbOK5
1724ms980kbOK5
1824ms1056kbOK5
1928ms1052kbOK5
200ms272kbOK5
Punctaj total90

Ceva nu functioneaza?