Pagini recente » Borderou de evaluare (job #2318909) | Borderou de evaluare (job #1628101) | Borderou de evaluare (job #889802) | Borderou de evaluare (job #1544642) | Borderou de evaluare (job #1115939)
Borderou de evaluare (job #1115939)
Raport evaluator
Compilare:
user.cpp: In function ‘int max(int, int, int)’:
user.cpp:12:6: warning: unused variable ‘blackjack’ [-Wunused-variable]
int blackjack,hookers;
^
user.cpp:12:16: warning: unused variable ‘hookers’ [-Wunused-variable]
int blackjack,hookers;
^
user.cpp: In function ‘int min(int, int, int)’:
user.cpp:23:6: warning: unused variable ‘blackjack’ [-Wunused-variable]
int blackjack,hookers;
^
user.cpp:23:16: warning: unused variable ‘hookers’ [-Wunused-variable]
int blackjack,hookers;
^
user.cpp: In function ‘int main()’:
user.cpp:51:92: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if( (max(cost(1,i),cost(i,j),cost(j,n) ) - min(cost(1,i),cost(i,j),cost(j,n ) ))<min3)
^
user.cpp: In function ‘int max(int, int, int)’:
user.cpp:20:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int min(int, int, int)’:
user.cpp:30:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:58:26: warning: ‘pos2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fout<<pos1-2<<" "<<pos2-1;
^
user.cpp:58:13: warning: ‘pos1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fout<<pos1-2<<" "<<pos2-1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 380kb | Incorect | 0 |
2 | 4ms | 384kb | Incorect | 0 |
3 | Depăşit | 368kb | Time limit exceeded. | 0 |
4 | Depăşit | 372kb | Time limit exceeded. | 0 |
5 | Depăşit | 756kb | Time limit exceeded. | 0 |
6 | Depăşit | 760kb | Time limit exceeded. | 0 |
7 | Depăşit | 760kb | Time limit exceeded. | 0 |
8 | Depăşit | 4272kb | Time limit exceeded. | 0 |
9 | Depăşit | 4268kb | Time limit exceeded. | 0 |
10 | Depăşit | 4272kb | Time limit exceeded. | 0 |
Punctaj total | 0 |