Pagini recente » Cod sursa (job #1527205) | Cod sursa (job #1574688) | Cod sursa (job #1442254) | Borderou de evaluare (job #490537) | Borderou de evaluare (job #2549908)
Borderou de evaluare (job #2549908)
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 | 29ms | 1310kb | OK | 10 |
| 6 | 58ms | 2228kb | OK | 10 |
| 7 | 72ms | 2883kb | OK | 10 |
| 8 | 12ms | 1703kb | Incorect | 0 |
| 9 | 15ms | 1703kb | Incorect | 0 |
| 10 | 15ms | 1703kb | Incorect | 0 |
| Punctaj total | 70 |