Pagini recente » Borderou de evaluare (job #1123397) | Borderou de evaluare (job #1957998) | Borderou de evaluare (job #293353) | Borderou de evaluare (job #883551) | Borderou de evaluare (job #1907518)
Borderou de evaluare (job #1907518)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld%ld", &n, &b);
^
user.cpp:19:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:21:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld", &p[i]);
^
user.cpp:38:22: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld", min);
^
user.cpp:17:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("buget.in", "r", stdin);
^
user.cpp:18:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("buget.out", "w", stdout);
^
user.cpp:19:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld", &n, &b);
^
user.cpp:21:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &p[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 424kb | OK | 10 |
2 | 0ms | 432kb | OK | 10 |
3 | 0ms | 432kb | OK | 10 |
4 | 0ms | 432kb | OK | 10 |
5 | 0ms | 468kb | Incorect | 0 |
6 | 0ms | 468kb | Incorect | 0 |
7 | 20ms | 740kb | Incorect | 0 |
8 | 20ms | 736kb | Incorect | 0 |
9 | 40ms | 1128kb | Incorect | 0 |
10 | 44ms | 1128kb | Incorect | 0 |
Punctaj total | 40 |