Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #1388136)
| Utilizator | Data | 15 martie 2015 11:00:15 | |
|---|---|---|---|
| Problema | Mcript | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 90 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:55: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for (int i=1;s[i];++i) l = l * 10 + p[s[i]];
^
user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mcript.in","r",stdin);
^
user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mcript.out","w",stdout);
^
user.cpp:13:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%s",&aux,s+1);
^
user.cpp:16:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&aux);
^
user.cpp:19:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",s+1);l = 0;
^
user.cpp:24:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&aux);
^
user.cpp:27:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:31:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",s+1);
^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 24ms | 16072kb | OK | 10 |
| 2 | 24ms | 16080kb | OK | 10 |
| 3 | 28ms | 16096kb | OK | 10 |
| 4 | 36ms | 16316kb | OK | 10 |
| 5 | 60ms | 16784kb | OK | 10 |
| 6 | 84ms | 17252kb | OK | 10 |
| 7 | 128ms | 18416kb | OK | 10 |
| 8 | 356ms | 23108kb | OK | 10 |
| 9 | 808ms | 27800kb | OK | 10 |
| 10 | Depăşit | 39504kb | Time limit exceeded. | 0 |
| Punctaj total | 90 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
