Pagini recente » Borderou de evaluare (job #667038) | Borderou de evaluare (job #1605821) | Borderou de evaluare (job #2425121) | Borderou de evaluare (job #932051) | Borderou de evaluare (job #2540922)
Borderou de evaluare (job #2540922)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:13:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<v[nod].size();i++){
~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:49:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0 ; j < v[i].size();j++){
~~^~~~~~~~~~~~~
main.cpp:66:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<v[nc].size();i++){
~^~~~~~~~~~~~~
main.cpp:73:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i == v[nc].size()){ /// sigur are vecin 1
~~^~~~~~~~~~~~~~~
main.cpp:107:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<v[nc].size();i++){
~^~~~~~~~~~~~~
main.cpp:114:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i == v[nc].size()){ /// sigur are vecin 1
~~^~~~~~~~~~~~~~~
main.cpp:161:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<v[nc].size();i++){
~^~~~~~~~~~~~~
main.cpp:168:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i == v[nc].size()){ /// ai trecut de ed
~~^~~~~~~~~~~~~~~
main.cpp:191:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0 ; j < v[nod].size() ; j++){
~~^~~~~~~~~~~~~~~
main.cpp:218:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0 ; j < ve[nod].size() ; j++){
~~^~~~~~~~~~~~~~~~
main.cpp:34:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d%d",&n,&m);
^
main.cpp:36:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d",&val[i]);
^
main.cpp:41:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d%d",&x,&y);
^
main.cpp:32:21: warning: 'nc' may be used uninitialized in this function [-Wmaybe-uninitialized]
int n , m , i , nc , vecin , maxi , mini , x , y , nr;
^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 13ms | 5373kb | OK | 10 |
2 | 13ms | 5373kb | Incorect | 0 |
3 | 13ms | 4980kb | OK | 10 |
4 | 13ms | 4980kb | OK | 10 |
5 | 27ms | 6029kb | OK | 10 |
6 | 38ms | 6029kb | OK | 10 |
7 | 97ms | 8519kb | OK | 10 |
8 | 227ms | 8519kb | OK | 10 |
9 | 308ms | 11522kb | OK | 10 |
10 | 308ms | 11534kb | OK | 10 |
Punctaj total | 90 |