Pagini recente » Borderou de evaluare (job #2882387) | Borderou de evaluare (job #2882379) | Borderou de evaluare (job #1935979) | Borderou de evaluare (job #507141) | Borderou de evaluare (job #2882363)
Borderou de evaluare (job #2882363)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:74:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
74 | for(j = 0; j < s.size(); j++){
| ~~^~~~~~~~~~
main.cpp:76:37: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
76 | while(s[j] != ' ' and j < s.size())
| ~~^~~~~~~~~~
main.cpp: In function 'void fact()':
main.cpp:59:22: warning: iteration 50004 invokes undefined behavior [-Waggressive-loop-optimizations]
59 | factorial[i] = (factorial[i - 1] * i ) % mod;
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:58:22: note: within this loop
58 | for(int i = 1; i <= NMAX; i++)
| ~~^~~~~~~
main.cpp: In function 'int main()':
main.cpp:67:18: warning: iteration 50004 invokes undefined behavior [-Waggressive-loop-optimizations]
67 | sizes[i] = 1, parent[i] = i;
| ~~~~~~~~~^~~
main.cpp:66:18: note: within this loop
66 | for(i = 1; i <= NMAX; i++)
| ~~^~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 1ms | 184kb | OK | 10 |
| 2 | 1ms | 184kb | OK | 10 |
| 3 | 1ms | 184kb | OK | 10 |
| 4 | 1ms | 184kb | OK | 10 |
| 5 | 19ms | 1380kb | OK | 10 |
| 6 | 38ms | 1859kb | Partial incorect | 5 |
| 7 | 40ms | 3039kb | Partial incorect | 5 |
| 8 | 126ms | 6787kb | Partial incorect | 5 |
| 9 | 40ms | 892kb | OK | 10 |
| 10 | 115ms | 6856kb | OK | 10 |
| Punctaj total | 85 |