Pagini recente » Borderou de evaluare (job #190803) | Borderou de evaluare (job #1902509) | Borderou de evaluare (job #1689559) | Borderou de evaluare (job #2836870) | Borderou de evaluare (job #2361047)
Borderou de evaluare (job #2361047)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:18:28: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::set<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d", s.size()-1);
^
main.cpp:6:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("sortare2.in", "r",stdin);
^
main.cpp:7:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sortare2.out", "w",stdout);
^
main.cpp:10:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:12:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 2ms | 131kb | OK | 10 |
| 4 | 2ms | 131kb | OK | 10 |
| 5 | 2ms | 131kb | OK | 10 |
| 6 | 3ms | 131kb | OK | 10 |
| 7 | 13ms | 393kb | OK | 10 |
| 8 | 70ms | 1310kb | OK | 10 |
| 9 | 101ms | 1966kb | Time limit exceeded | 0 |
| 10 | 100ms | 2359kb | Time limit exceeded | 0 |
| Punctaj total | 80 |