Pagini recente » Borderou de evaluare (job #878410) | Borderou de evaluare (job #2967771) | Borderou de evaluare (job #3179891) | Borderou de evaluare (job #159424) | Borderou de evaluare (job #1341699)
Borderou de evaluare (job #1341699)
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:72:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cpair[a][b] = ++ n;
^
user.cpp:72:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cpair[a][b] = ++ n;
^
user.cpp:66:15: warning: unused variable ‘codeA’ [-Wunused-variable]
int node, codeA, codeB, minFlow, ans, code, n, m, i;
^
user.cpp:66:22: warning: unused variable ‘codeB’ [-Wunused-variable]
int node, codeA, codeB, minFlow, ans, code, n, m, i;
^
user.cpp:64: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:65: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:74: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:75:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", txt);
^
user.cpp:78: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 | 828kb | Ok! | 10 |
2 | Depăşit | 900kb | Time limit exceeded. | 0 |
3 | Depăşit | 1252kb | Time limit exceeded. | 0 |
4 | Depăşit | 1404kb | Time limit exceeded. | 0 |
5 | Depăşit | 1396kb | Time limit exceeded. | 0 |
6 | Depăşit | 1560kb | Time limit exceeded. | 0 |
7 | Depăşit | 2800kb | Time limit exceeded. | 0 |
8 | Depăşit | 4304kb | Time limit exceeded. | 0 |
9 | Depăşit | 5304kb | Time limit exceeded. | 0 |
10 | Depăşit | 6320kb | Time limit exceeded. | 0 |
Punctaj total | 10 |