Pagini recente » Borderou de evaluare (job #66866) | Borderou de evaluare (job #423391) | Borderou de evaluare (job #703461) | Borderou de evaluare (job #659012) | Borderou de evaluare (job #1342198)
Borderou de evaluare (job #1342198)
Raport evaluator
Compilare:
user.cpp: In function ‘int codePair(char, char)’:
user.cpp:19:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return cpair[a][b];
^
user.cpp:19:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return cpair[a][b];
^
user.cpp: In function ‘int main()’:
user.cpp:73:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cpair[a][b] = ++ n;
^
user.cpp:73:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cpair[a][b] = ++ n;
^
user.cpp:67:15: warning: unused variable ‘codeA’ [-Wunused-variable]
int node, codeA, codeB, minFlow, ans, code, n, m, i;
^
user.cpp:67:22: warning: unused variable ‘codeB’ [-Wunused-variable]
int node, codeA, codeB, minFlow, ans, code, n, m, i;
^
user.cpp:65:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teroristi.in", "r", stdin);
^
user.cpp:66:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teroristi.out", "w", stdout);
^
user.cpp:75:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:76:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", txt);
^
user.cpp:79:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c %c\n", &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 812kb | Ok! | 10 |
2 | 0ms | 920kb | Ok! | 10 |
3 | Depăşit | 1484kb | Time limit exceeded. | 0 |
4 | Depăşit | 1836kb | Time limit exceeded. | 0 |
5 | 136ms | 1860kb | Ai esuat! | 0 |
6 | Depăşit | 2024kb | Time limit exceeded. | 0 |
7 | Depăşit | 3268kb | Time limit exceeded. | 0 |
8 | Depăşit | 4776kb | Time limit exceeded. | 0 |
9 | 444ms | 5936kb | Killed by signal 11(SIGSEGV). | 0 |
10 | Depăşit | 6792kb | Time limit exceeded. | 0 |
Punctaj total | 20 |