Pagini recente » Borderou de evaluare (job #182497) | Borderou de evaluare (job #635529) | Borderou de evaluare (job #3125959) | Borderou de evaluare (job #858298) | Borderou de evaluare (job #2174357)
Borderou de evaluare (job #2174357)
Raport evaluator
Compilare:
user.cpp: In function ‘void diviz()’:
user.cpp:29:10: warning: statement has no effect [-Wunused-value]
for(i;i*i<=b;i++)
^
user.cpp: In function ‘int main()’:
user.cpp:79:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &n);
^
user.cpp:83:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d", &a, &b);
^
user.cpp:83:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:85:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", a-subsir());
^
user.cpp:77:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pinex.in", "r", stdin);
^
user.cpp:78:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pinex.out", "w", stdout);
^
user.cpp:79:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:83:31: 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 |
Punctaj/grupa |
1 | 12ms | 1580kb | OK | 10 | 10 |
2 | 12ms | 1484kb | OK | 10 | 10 |
3 | 12ms | 1580kb | OK | 10 | 10 |
4 | 44ms | 1460kb | OK | 10 | 10 |
5 | 48ms | 1556kb | OK | 10 | 10 |
6 | 72ms | 1468kb | OK | 10 | 10 |
7 | 56ms | 1472kb | OK | 10 | 10 |
8 | Depăşit | 1228kb | Time limit exceeded. | 0 | 0 |
9 | Depăşit | 1372kb | Time limit exceeded. | 0 |
10 | Depăşit | 1276kb | Time limit exceeded. | 0 |
Punctaj total | 70 |