Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #1389021)
| Utilizator | Data | 15 martie 2015 21:23:42 | |
|---|---|---|---|
| Problema | Purice2 | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 60 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &a[i]);
^
user.cpp:32:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("purice2.in", "r", stdin);
^
user.cpp:33:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("purice2.out","w", stdout);
^
user.cpp:35:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:37:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:39:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 0ms | 416kb | Incorect | 0 |
| 2 | 0ms | 420kb | Incorect | 0 |
| 3 | 0ms | 420kb | Incorect | 0 |
| 4 | 0ms | 424kb | Incorect | 0 |
| 5 | 8ms | 420kb | OK | 10 |
| 6 | 16ms | 416kb | OK | 10 |
| 7 | 16ms | 420kb | OK | 10 |
| 8 | 16ms | 420kb | OK | 10 |
| 9 | 16ms | 420kb | OK | 10 |
| 10 | 16ms | 416kb | OK | 10 |
| Punctaj total | 60 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
