Pagini recente » Problem: Marble Game | Cod sursa (job #1923393) | Cod sursa (job #679069) | Cod sursa (job #874338) | Borderou de evaluare (job #1313881)
Borderou de evaluare (job #1313881)
Raport evaluator
Compilare:
user.cpp: In function ‘long int collide(long int, long int)’:
user.cpp:50:27: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
rem |= (1 << i-1);
^
user.cpp:51:27: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
rem |= (1 << i+1);
^
user.cpp:54:21: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
if(rez & (1 << n-1)) {
^
user.cpp:55:23: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
rem |= (1 << n-2);
^
user.cpp: In function ‘void bellman()’:
user.cpp:86:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<G[node].size(); i++) {
^
user.cpp: In function ‘void dijkstra(int)’:
user.cpp:112:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<G[node].size(); i++) {
^
user.cpp: In function ‘void afis(std::vector<int>&)’:
user.cpp:140:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<V.size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:150:13: warning: unused variable ‘c’ [-Wunused-variable]
long a, c, t;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 36ms | 25020kb | Just perfect! | 10 |
| 2 | 28ms | 24984kb | Killed by signal 11(SIGSEGV). | 0 |
| 3 | 36ms | 25036kb | Just perfect! | 10 |
| 4 | 36ms | 25160kb | Incompatible output! | 0 |
| 5 | 44ms | 26188kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 112ms | 30492kb | Incompatible output! | 0 |
| 7 | 132ms | 32668kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 156ms | 35080kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 264ms | 41064kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 260ms | 41088kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 20 |