Pagini recente » Borderou de evaluare (job #2145877) | Borderou de evaluare (job #2687926) | Borderou de evaluare (job #1958495) | Borderou de evaluare (job #3040478) | Borderou de evaluare (job #2406417)
Borderou de evaluare (job #2406417)
Raport evaluator
Compilare:
main.cpp: In function 'std::set<int> expresie()':
main.cpp:34:25: warning: array subscript has type 'char' [-Wchar-subscripts]
b = vars[cur];
^
main.cpp:43:29: warning: array subscript has type 'char' [-Wchar-subscripts]
c = vars[cur];
^
main.cpp: In function 'int main()':
main.cpp:70:20: warning: array subscript has type 'char' [-Wchar-subscripts]
vars[ch].insert(a);
^
main.cpp:76:30: 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\n", rez.size());
^
main.cpp:59:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("multimi4.in", "r", stdin);
^
main.cpp:60:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("multimi4.out", "w", stdout);
^
main.cpp:63:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
main.cpp:67:47: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c=%d-%d/%d ", &ch, &a, &b, &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK! | 3 |
2 | 2ms | 131kb | OK! | 3 |
3 | 8ms | 655kb | OK! | 3 |
4 | 5ms | 393kb | OK! | 3 |
5 | 5ms | 393kb | OK! | 3 |
6 | 5ms | 131kb | OK! | 5 |
7 | 67ms | 917kb | OK! | 5 |
8 | 44ms | 1572kb | OK! | 5 |
9 | 17ms | 786kb | OK! | 7 |
10 | 24ms | 1179kb | OK! | 7 |
11 | 93ms | 1966kb | OK! | 8 |
12 | 149ms | 3932kb | OK! | 8 |
13 | 488ms | 15859kb | OK! | 6 |
14 | 611ms | 13631kb | OK! | 6 |
15 | 888ms | 19922kb | OK! | 7 |
16 | 975ms | 21889kb | OK! | 7 |
17 | 1000ms | 31457kb | Time limit exceeded | 0 |
18 | 751ms | 15859kb | OK! | 7 |
Punctaj total | 93 |