Pagini recente » Borderou de evaluare (job #584610) | Borderou de evaluare (job #2129184) | Borderou de evaluare (job #2233519) | Borderou de evaluare (job #85508) | Borderou de evaluare (job #2119714)
Borderou de evaluare (job #2119714)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &x);
^
user.cpp:25:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", pet);
^
user.cpp:7: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:8: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:9: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:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:16:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &q);
^
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 | 1260kb | OK | 10 |
2 | 0ms | 1264kb | OK | 10 |
3 | 0ms | 1264kb | OK | 10 |
4 | 0ms | 1260kb | OK | 10 |
5 | 0ms | 1268kb | OK | 10 |
6 | 0ms | 1260kb | OK | 10 |
7 | 4ms | 1276kb | OK | 10 |
8 | 168ms | 2812kb | OK | 10 |
9 | 172ms | 2812kb | OK | 10 |
10 | 168ms | 2816kb | OK | 10 |
Punctaj total | 100 |