Pagini recente » Borderou de evaluare (job #2182121) | Borderou de evaluare (job #758125) | Borderou de evaluare (job #1907616) | Borderou de evaluare (job #1787967) | Borderou de evaluare (job #2105724)
Borderou de evaluare (job #2105724)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &x);
^
user.cpp:22:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if (a<b) printf("%d\n", a);
^
user.cpp:23:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
else if (a==b) printf("%d\n", a);
^
user.cpp:29:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", a);
^
user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori5.in", "r", stdin);
^
user.cpp:9:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori5.out", "w", stdout);
^
user.cpp:11:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld", &n, &k);
^
user.cpp:13:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:17:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &m);
^
user.cpp:19:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 272kb | OK | 10 |
3 | 0ms | 280kb | OK | 10 |
4 | 0ms | 276kb | OK | 10 |
5 | 0ms | 276kb | OK | 10 |
6 | 0ms | 276kb | OK | 10 |
7 | Depăşit | 276kb | Time limit exceeded. | 0 |
8 | Depăşit | 1812kb | Time limit exceeded. | 0 |
9 | Depăşit | 1808kb | Time limit exceeded. | 0 |
10 | Depăşit | 1808kb | Time limit exceeded. | 0 |
Punctaj total | 60 |