Pagini recente » Borderou de evaluare (job #1523012) | Borderou de evaluare (job #2031713) | Borderou de evaluare (job #2631731) | Borderou de evaluare (job #3141018) | Borderou de evaluare (job #2053444)
Borderou de evaluare (job #2053444)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:15:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100005]’ [-Wformat=]
scanf("%s\n", &str);
^
user.cpp:23:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100005]’ [-Wformat=]
scanf("%s\n", &str);
^
user.cpp:41:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &c);
^
user.cpp: In function ‘void print()’:
user.cpp:75:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", v[i]);
^
user.cpp: In function ‘void read()’:
user.cpp:15:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", &str);
^
user.cpp:23:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", &str);
^
user.cpp:41:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &c);
^
user.cpp: In function ‘int main()’:
user.cpp:80:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("calcul.in", "r", stdin);
^
user.cpp:81:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("calcul.out", "w", stdout);
^
user.cpp: In function ‘void read()’:
user.cpp:37:55: warning: ‘cifra’ may be used uninitialized in this function [-Wmaybe-uninitialized]
biti[4 * (lung - i - 1) + j + 1] = (cifra & (1<<j));
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 456kb | OK | 5 |
2 | 0ms | 452kb | OK | 5 |
3 | 0ms | 456kb | OK | 5 |
4 | 0ms | 456kb | OK | 5 |
5 | 0ms | 464kb | OK | 5 |
6 | 0ms | 460kb | OK | 5 |
7 | 0ms | 464kb | OK | 5 |
8 | 0ms | 456kb | OK | 5 |
9 | 0ms | 548kb | OK | 5 |
10 | 0ms | 520kb | OK | 5 |
11 | 0ms | 460kb | OK | 5 |
12 | 0ms | 460kb | OK | 5 |
13 | 0ms | 568kb | OK | 5 |
14 | 4ms | 572kb | OK | 5 |
15 | 4ms | 496kb | OK | 5 |
16 | 4ms | 548kb | OK | 5 |
17 | 8ms | 604kb | OK | 5 |
18 | 12ms | 640kb | OK | 5 |
19 | 20ms | 740kb | OK | 5 |
20 | 20ms | 740kb | OK | 5 |
Punctaj total | 100 |