Pagini recente » Borderou de evaluare (job #2163961) | Cod sursa (job #3203079) | Borderou de evaluare (job #1805456) | Borderou de evaluare (job #2161424) | Borderou de evaluare (job #2281538)
Borderou de evaluare (job #2281538)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:29:32: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::stack<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d" , st.size() - 1);
^
main.cpp: In function 'bool check(int, int)':
main.cpp:10:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:14:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("liste.in" , "r" , stdin);
^
main.cpp:15:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("liste.out" , "w" , stdout);
^
main.cpp:16:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &n);
^
main.cpp:19:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &m);
^
main.cpp:22:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &nr);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 161ms | 12189kb | Incorect | 0 |
| 4 | 74ms | 12189kb | OK | 10 |
| 5 | 112ms | 12189kb | Incorect | 0 |
| 6 | 66ms | 11010kb | OK | 10 |
| 7 | 279ms | 12189kb | OK | 10 |
| 8 | 148ms | 12189kb | Incorect | 0 |
| 9 | 124ms | 12189kb | Incorect | 0 |
| 10 | 13ms | 1310kb | Incorect | 0 |
| Punctaj total | 50 |