Pagini recente » Borderou de evaluare (job #2486408) | Borderou de evaluare (job #3210187) | Borderou de evaluare (job #872939) | Borderou de evaluare (job #49057) | Borderou de evaluare (job #1743327)
Borderou de evaluare (job #1743327)
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 |
1 | 0ms | 284kb | OK | 5 |
2 | 16ms | 900kb | OK | 5 |
3 | 0ms | 280kb | OK | 5 |
4 | 0ms | 308kb | OK | 5 |
5 | 0ms | 324kb | OK | 5 |
6 | 0ms | 300kb | OK | 5 |
7 | 0ms | 348kb | OK | 5 |
8 | 0ms | 352kb | OK | 5 |
9 | 0ms | 356kb | OK | 5 |
10 | 4ms | 428kb | OK | 5 |
11 | 8ms | 668kb | OK | 5 |
12 | 4ms | 432kb | OK | 5 |
13 | 8ms | 512kb | Incorect | 0 |
14 | 12ms | 588kb | OK | 5 |
15 | 16ms | 660kb | Incorect | 0 |
16 | 16ms | 744kb | OK | 5 |
17 | 24ms | 980kb | OK | 5 |
18 | 24ms | 1056kb | OK | 5 |
19 | 28ms | 1052kb | OK | 5 |
20 | 0ms | 272kb | OK | 5 |
Punctaj total | 90 |