Pagini recente » Cod sursa (job #987066) | Cod sursa (job #47233) | Borderou de evaluare (job #1767811) | Cod sursa (job #896629) | Borderou de evaluare (job #1313919)
Borderou de evaluare (job #1313919)
Raport evaluator
Compilare:
user.cpp: In function ‘long int collide(long int, long int)’:
user.cpp:48:27: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
rem |= (1 << i-1);
^
user.cpp:49:27: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
rem |= (1 << i+1);
^
user.cpp:52:21: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
if(rez & (1 << n-1)) {
^
user.cpp:53:23: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
rem |= (1 << n-2);
^
user.cpp: In function ‘void bellman()’:
user.cpp:84: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(long int)’:
user.cpp:120: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:148: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:158:13: warning: unused variable ‘c’ [-Wunused-variable]
long a, c, t;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 36ms | 25016kb | You have spent too much! | 0 |
| 2 | 32ms | 24980kb | Killed by signal 11(SIGSEGV). | 0 |
| 3 | 36ms | 25032kb | Just perfect! | 10 |
| 4 | 36ms | 25160kb | You have spent too much! | 0 |
| 5 | 44ms | 26192kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 104ms | 30464kb | Incompatible output! | 0 |
| 7 | 132ms | 32664kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 160ms | 35072kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 264ms | 41056kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 264ms | 41080kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 10 |