Pagini recente » Borderou de evaluare (job #88948) | Borderou de evaluare (job #593116) | Borderou de evaluare (job #1253055) | Borderou de evaluare (job #2575282) | Borderou de evaluare (job #2174587)
Borderou de evaluare (job #2174587)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:82:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &n);
^
user.cpp:86: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:86:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:88:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", a-subsir());
^
user.cpp:80: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:81: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:82:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:86: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 | 16ms | 6088kb | OK | 10 | 10 |
2 | 16ms | 6192kb | OK | 10 | 10 |
3 | 16ms | 6180kb | OK | 10 | 10 |
4 | 32ms | 6176kb | OK | 10 | 10 |
5 | 32ms | 6116kb | OK | 10 | 10 |
6 | 44ms | 6172kb | OK | 10 | 10 |
7 | 36ms | 6160kb | OK | 10 | 10 |
8 | 112ms | 6084kb | Incorect | 0 | 0 |
9 | 112ms | 6176kb | Incorect | 0 |
10 | 108ms | 6092kb | Incorect | 0 |
Punctaj total | 70 |