Pagini recente » Borderou de evaluare (job #61049) | Borderou de evaluare (job #699651) | Borderou de evaluare (job #206528) | Borderou de evaluare (job #1044771) | Borderou de evaluare (job #2174559)
Borderou de evaluare (job #2174559)
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:78:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &n);
^
user.cpp:82: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:82:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:84:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", a-subsir());
^
user.cpp:76: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:77: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:78:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:82: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 | 0ms | 1424kb | OK | 10 | 10 |
2 | 0ms | 1348kb | OK | 10 | 10 |
3 | 0ms | 1360kb | OK | 10 | 10 |
4 | 116ms | 1352kb | OK | 10 | 10 |
5 | 128ms | 1348kb | OK | 10 | 10 |
6 | 208ms | 1360kb | OK | 10 | 10 |
7 | 148ms | 1440kb | OK | 10 | 10 |
8 | Depăşit | 1232kb | Time limit exceeded. | 0 | 0 |
9 | Depăşit | 1116kb | Time limit exceeded. | 0 |
10 | Depăşit | 1208kb | Time limit exceeded. | 0 |
Punctaj total | 70 |