Pagini recente » Borderou de evaluare (job #503926) | Borderou de evaluare (job #2419013) | Borderou de evaluare (job #2123929) | Borderou de evaluare (job #1883116) | Borderou de evaluare (job #2174567)
Borderou de evaluare (job #2174567)
Raport evaluator
Compilare:
user.cpp: In function ‘void diviz()’:
user.cpp:20:10: warning: statement has no effect [-Wunused-value]
for(i;i*i<=b;i++)
^
user.cpp: In function ‘int main()’:
user.cpp:69:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &n);
^
user.cpp:73: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:73:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:75:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", a-subsir());
^
user.cpp:67: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:68: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:69:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:73: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 | 1444kb | OK | 10 | 10 |
2 | 0ms | 1436kb | OK | 10 | 10 |
3 | 0ms | 1344kb | OK | 10 | 10 |
4 | 116ms | 1420kb | OK | 10 | 10 |
5 | 128ms | 1344kb | OK | 10 | 10 |
6 | 208ms | 1432kb | OK | 10 | 10 |
7 | 148ms | 1428kb | OK | 10 | 10 |
8 | Depăşit | 1208kb | Time limit exceeded. | 0 | 0 |
9 | Depăşit | 1208kb | Time limit exceeded. | 0 |
10 | Depăşit | 1204kb | Time limit exceeded. | 0 |
Punctaj total | 70 |