Pagini recente » Borderou de evaluare (job #737588) | Borderou de evaluare (job #2739374) | Borderou de evaluare (job #1042551) | Borderou de evaluare (job #1669809) | Borderou de evaluare (job #2440427)
Borderou de evaluare (job #2440427)
Raport evaluator
Compilare:
main.cpp: In function 'void solve()':
main.cpp:17:17: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1000002]' [-Wformat=]
scanf("%s", &ss);
^
main.cpp:17:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &ss);
^
main.cpp: In function 'int main()':
main.cpp:53:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix.in", "r", stdin);
^
main.cpp:54:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix.out", "w", stdout);
^
main.cpp:57:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
main.cpp: In function 'void solve()':
main.cpp:18:17: warning: array subscript is below array bounds [-Warray-bounds]
char* s = ss - 1;
^
main.cpp:18:17: warning: array subscript is below array bounds [-Warray-bounds]
main.cpp:18:17: warning: array subscript is below array bounds [-Warray-bounds]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 3ms | 131kb | OK | 10 |
3 | 134ms | 131kb | OK | 10 |
4 | 252ms | 393kb | Time limit exceeded | 0 |
5 | 253ms | 262kb | Time limit exceeded | 0 |
6 | 252ms | 393kb | Time limit exceeded | 0 |
7 | 253ms | 786kb | Time limit exceeded | 0 |
8 | 251ms | 1048kb | Time limit exceeded | 0 |
9 | 251ms | 393kb | Time limit exceeded | 0 |
10 | 3ms | 131kb | OK | 10 |
Punctaj total | 40 |