Pagini recente » Borderou de evaluare (job #2335918) | Borderou de evaluare (job #2863957) | Borderou de evaluare (job #2087063) | Borderou de evaluare (job #1489068) | Borderou de evaluare (job #1196699)
Borderou de evaluare (job #1196699)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d", &p);
^
user.cpp:42:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
else if (gasit) printf("%d",aux);
^
user.cpp:25:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fact.in","r",stdin);
^
user.cpp:26:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fact.out","w",stdout);
^
user.cpp:27:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &p);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 232kb | Corect! | 5 |
| 2 | 0ms | 248kb | Corect! | 5 |
| 3 | 0ms | 236kb | Corect! | 5 |
| 4 | 0ms | 244kb | Corect! | 5 |
| 5 | 0ms | 240kb | Corect! | 5 |
| 6 | 0ms | 248kb | Corect! | 5 |
| 7 | 0ms | 248kb | Corect! | 5 |
| 8 | 0ms | 248kb | Corect! | 5 |
| 9 | 0ms | 244kb | Corect! | 5 |
| 10 | 0ms | 240kb | Corect! | 5 |
| 11 | 0ms | 244kb | Corect! | 5 |
| 12 | 0ms | 240kb | Corect! | 5 |
| 13 | 0ms | 248kb | Corect! | 5 |
| 14 | 0ms | 248kb | Corect! | 5 |
| 15 | 0ms | 240kb | Corect! | 5 |
| 16 | 0ms | 248kb | Corect! | 5 |
| 17 | 0ms | 244kb | Corect! | 5 |
| 18 | 0ms | 248kb | Corect! | 5 |
| 19 | 0ms | 248kb | Corect! | 5 |
| 20 | 0ms | 240kb | Corect! | 5 |
| Punctaj total | 100 |