Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2174591)
| Utilizator | Data | 16 martie 2018 12:41:10 | |
|---|---|---|---|
| Problema | Principiul includerii si excluderii | Status | done |
| Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
| Scor | 70 | ||
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 | 180ms | 11368kb | OK | 10 | 10 |
| 2 | 172ms | 11360kb | OK | 10 | 10 |
| 3 | 172ms | 11280kb | OK | 10 | 10 |
| 4 | 196ms | 11364kb | OK | 10 | 10 |
| 5 | 208ms | 11360kb | OK | 10 | 10 |
| 6 | 208ms | 11356kb | OK | 10 | 10 |
| 7 | 196ms | 11292kb | OK | 10 | 10 |
| 8 | 268ms | 11396kb | Incorect | 0 | 0 |
| 9 | 264ms | 11380kb | Incorect | 0 | |
| 10 | 264ms | 11352kb | Incorect | 0 | |
| Punctaj total | 70 | ||||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
