Pagini recente » Borderou de evaluare (job #628415) | Borderou de evaluare (job #1817449) | Borderou de evaluare (job #2632214) | Borderou de evaluare (job #1984585) | Borderou de evaluare (job #1993713)
Borderou de evaluare (job #1993713)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[j] == 'A') ++dif[rest][s[j]];
^
user.cpp:24:54: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if(s[j] == 'C') ++dif[rest][s[j]];
^
user.cpp:25:54: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if(s[j] == 'G') ++dif[rest][s[j]];
^
user.cpp:26:54: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if(s[j] == 'T') ++dif[rest][s[j]];
^
user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perb.in", "r", stdin);
^
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perb.out", "w", stdout);
^
user.cpp:11: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:12:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s + 1);
^
user.cpp:34:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &l, &r);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | OK | 10 |
2 | 0ms | 340kb | OK | 10 |
3 | 40ms | 512kb | OK | 10 |
4 | 36ms | 392kb | OK | 10 |
5 | 112ms | 340kb | OK | 10 |
6 | 412ms | 760kb | OK | 10 |
7 | Depăşit | 1012kb | Time limit exceeded. | 0 |
8 | Depăşit | 1228kb | Time limit exceeded. | 0 |
9 | Depăşit | 1480kb | Time limit exceeded. | 0 |
10 | 0ms | 1228kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 60 |