Pagini recente » Borderou de evaluare (job #1240119) | Borderou de evaluare (job #1133521) | Borderou de evaluare (job #184858) | Borderou de evaluare (job #2274368) | Borderou de evaluare (job #1957488)
Borderou de evaluare (job #1957488)
Raport evaluator
Compilare:
user.cpp: In function ‘void back_baz(char)’:
user.cpp:58:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sumb += primes[p];
^
user.cpp:61:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sumb -= primes[p];
^
user.cpp: In function ‘int main()’:
user.cpp:74:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", nums[i]);
^
user.cpp:65:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cumpanit.in", "r", stdin);
^
user.cpp:66:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cumpanit.out", "w", stdout);
^
user.cpp:71:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 144ms | 380kb | OK | 7 |
2 | 144ms | 384kb | OK | 7 |
3 | 144ms | 384kb | OK | 7 |
4 | 144ms | 384kb | OK | 7 |
5 | 144ms | 384kb | OK | 7 |
6 | 144ms | 384kb | OK | 7 |
7 | 144ms | 388kb | OK | 7 |
8 | 144ms | 388kb | OK | 7 |
9 | 144ms | 388kb | OK | 7 |
10 | 144ms | 384kb | Incorect | 0 |
11 | 144ms | 380kb | Incorect | 0 |
12 | 144ms | 384kb | Incorect | 0 |
13 | 144ms | 384kb | Incorect | 0 |
14 | 144ms | 384kb | Incorect | 0 |
Punctaj total | 64 |