Pagini recente » Borderou de evaluare (job #1902642) | Borderou de evaluare (job #2085541) | Borderou de evaluare (job #2755605) | Borderou de evaluare (job #1669831) | Borderou de evaluare (job #1341693)
Borderou de evaluare (job #1341693)
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:61:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cpair[a][b] = ++ n;
^
user.cpp:61:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cpair[a][b] = ++ n;
^
user.cpp:53: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:54: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:63: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:64:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", txt);
^
user.cpp:67: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 | 820kb | Ok! | 10 |
2 | Depăşit | 892kb | Time limit exceeded. | 0 |
3 | Depăşit | 1248kb | Time limit exceeded. | 0 |
4 | Depăşit | 1396kb | Time limit exceeded. | 0 |
5 | Depăşit | 1392kb | Time limit exceeded. | 0 |
6 | Depăşit | 1552kb | Time limit exceeded. | 0 |
7 | Depăşit | 2792kb | Time limit exceeded. | 0 |
8 | Depăşit | 4300kb | Time limit exceeded. | 0 |
9 | Depăşit | 5296kb | Time limit exceeded. | 0 |
10 | Depăşit | 6312kb | Time limit exceeded. | 0 |
Punctaj total | 10 |