Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #1393849)
| Utilizator | Data | 19 martie 2015 19:55:43 | |
|---|---|---|---|
| Problema | Trompeta | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 70 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1000005]’ [-Wformat=]
scanf("%s",&a);
^
user.cpp:19:61: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(!st.empty()&&st.top() < x && y + st.size() >= m)
^
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("trompeta.in","r",stdin);
^
user.cpp:12:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trompeta.out","w",stdout);
^
user.cpp:13:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:14:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&a);
^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 0ms | 460kb | OK | 10 |
| 2 | 0ms | 460kb | OK | 10 |
| 3 | 0ms | 468kb | OK | 10 |
| 4 | 0ms | 472kb | OK | 10 |
| 5 | 0ms | 464kb | OK | 10 |
| 6 | 8ms | 868kb | OK | 10 |
| 7 | 4ms | 704kb | OK | 10 |
| 8 | Depăşit | 5500kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 8788kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 5744kb | Time limit exceeded. | 0 |
| Punctaj total | 70 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
