Pagini recente » Borderou de evaluare (job #2007826) | Borderou de evaluare (job #3120752) | Borderou de evaluare (job #3281646) | Profil bugy | Borderou de evaluare (job #2549914)
Borderou de evaluare (job #2549914)
Raport evaluator
Compilare:
main.cpp: In function 'void rd()':
main.cpp:23:22: warning: result of '(2 << 31)' requires 34 bits to represent, but 'int' only has 32 bits [-Wshift-overflow=]
dist[i] = (2 << 31) - 1;
~~^~~~~
main.cpp: In function 'int main()':
main.cpp:57:26: warning: result of '(2 << 31)' requires 34 bits to represent, but 'int' only has 32 bits [-Wshift-overflow=]
if(dist[i] == (2 << 31) - 1){
~~^~~~~
main.cpp:57:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(dist[i] == (2 << 31) - 1){
~~~~~~~~^~~~~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 4ms | 262kb | OK | 10 |
| 4 | 5ms | 262kb | OK | 10 |
| 5 | 30ms | 1703kb | OK | 10 |
| 6 | 62ms | 3014kb | OK | 10 |
| 7 | 75ms | 3932kb | OK | 10 |
| 8 | 15ms | 1835kb | Incorect | 0 |
| 9 | 15ms | 1835kb | Incorect | 0 |
| 10 | 15ms | 1835kb | Incorect | 0 |
| Punctaj total | 70 |