Pagini recente » Borderou de evaluare (job #3269255) | Borderou de evaluare (job #2916235) | Borderou de evaluare (job #3198829) | Borderou de evaluare (job #3005057) | Borderou de evaluare (job #1406333)
Borderou de evaluare (job #1406333)
Raport evaluator
Compilare:
user.cpp: In function ‘int findCostXY(int, int)’:
user.cpp:30:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<a[x].size(); i++)
^
user.cpp: In function ‘int bfs(int, int)’:
user.cpp:56:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<a[nodul.x].size(); i++)
^
user.cpp:75:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int findCostXY(int, int)’:
user.cpp:38:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘void doTest()’:
user.cpp:89:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d",&n,&m,&s,&d);
^
user.cpp:93:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&x,&y,&c);
^
user.cpp:104:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&nrm);
^
user.cpp:112:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&muchie);
^
user.cpp: In function ‘int main()’:
user.cpp:137:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tempest.in","r",stdin);
^
user.cpp:138:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tempest.out","w",stdout);
^
user.cpp:140:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&nrT);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 384ms | 9668kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |