Pagini recente » Borderou de evaluare (job #2198233) | Borderou de evaluare (job #2852691) | Borderou de evaluare (job #266531) | Borderou de evaluare (job #2639473) | Borderou de evaluare (job #2086536)
Borderou de evaluare (job #2086536)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:77:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d\n", &n, &t);
^
user.cpp:77:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp: In function ‘void rez()’:
user.cpp:31:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld ", &bere[i]);
^
user.cpp:43:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld\n", &k, &x);
^
user.cpp: In function ‘int main()’:
user.cpp:75:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("br.in", "r", stdin);
^
user.cpp:76:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("br.out", "w", stdout);
^
user.cpp:77:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &t);
^
user.cpp: In function ‘void rez()’:
user.cpp:69:29: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%lld\n", poz-k+1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 448kb | Incorect | 0 |
2 | 0ms | 480kb | Incorect | 0 |
3 | 4ms | 468kb | Incorect | 0 |
4 | 8ms | 480kb | Incorect | 0 |
5 | 8ms | 480kb | Incorect | 0 |
6 | 12ms | 512kb | Incorect | 0 |
7 | 12ms | 668kb | Incorect | 0 |
8 | 12ms | 796kb | Incorect | 0 |
9 | 16ms | 856kb | Incorect | 0 |
10 | 16ms | 916kb | Incorect | 0 |
Punctaj total | 0 |