Borderou de evaluare (job #1632976)

Utilizator PraetorGrigorosoaia Florin Praetor Data 6 martie 2016 11:18:03
Problema Caluti Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘long long unsigned int TROYAN(long long unsigned int, long int)’: user.cpp:24:54: warning: left operand of comma operator has no effect [-Wunused-value] for (long int k=nr_of_transported_horses+1; k<=nr_of_transported_horses+nr_of_horses_can_be_transported+1, k<=nr_of_horses; k++) ^ user.cpp:25:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (horse_time[k] <= time_reached) ^ user.cpp:34:58: warning: left operand of comma operator has no effect [-Wunused-value] for (long int k=nr_of_transported_horses_NOW+1; k<=nr_of_transported_horses_NOW+nr_of_horses_can_be_transported+1, k<=nr_of_horses; k++) ^ user.cpp: In function ‘void read()’: user.cpp:55:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &nr_of_tests); ^ user.cpp:58:99: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%ld%ld%lld", &nr_of_horses, &nr_of_horses_can_be_transported, &time_to_travel); ^ user.cpp:61:47: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%lld", &horse_time[j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms452kbIncorect0
20ms452kbIncorect0
3Depăşit456kbTime limit exceeded.0
4Depăşit572kbTime limit exceeded.0
58ms8608kbKilled by signal 11(SIGSEGV).0
6Depăşit1476kbTime limit exceeded.0
7Depăşit1948kbTime limit exceeded.0
840ms9376kbKilled by signal 11(SIGSEGV).0
9Depăşit5228kbTime limit exceeded.0
10116ms9404kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?