Pagini recente »
Borderou de evaluare (job #610523)
|
Borderou de evaluare (job #251905)
|
Borderou de evaluare (job #139962)
|
Borderou de evaluare (job #623865)
|
Borderou de evaluare (job #788244)
Borderou de evaluare (job #788244)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:76:32: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
76 | fprintf(fout, "%I64d %d", num, cur_base);
| ~~~~^ ~~~
| | |
| int long long int
| %I64lld
main.c:96:32: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
96 | fprintf(fout, "%I64d %d", num, cur_base);
| ~~~~^ ~~~
| | |
| int long long int
| %I64lld
main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fscanf(fin, "%d ", &n);
| ^~~~~~~~~~~~~~~~~~~~~~
main.c:18:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
18 | fscanf(fin, "%c", &cif[cIdx]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:29:11: warning: 'cur_cif' may be used uninitialized [-Wmaybe-uninitialized]
29 | if(cur_cif >= cur_base)
| ^
main.c:13:20: note: 'cur_cif' was declared here
13 | long long num, cur_cif, cur_pow;
| ^~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
Incorect
|
0
|
2
|
1 ms
|
266 kb
|
Incorect
|
0
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
4
|
1 ms
|
507 kb
|
Incorect
|
0
|
5
|
1 ms
|
245 kb
|
Incorect
|
0
|
6
|
1 ms
|
245 kb
|
Incorect
|
0
|
7
|
1799 ms
|
249 kb
|
Incorect
|
0
|
8
|
1 ms
|
245 kb
|
Incorect
|
0
|
9
|
1 ms
|
245 kb
|
Incorect
|
0
|
10
|
1 ms
|
245 kb
|
Incorect
|
0
|
Punctaj total
|
0
|