Pagini recente » Borderou de evaluare (job #1283190) | Borderou de evaluare (job #649215) | Borderou de evaluare (job #2150566) | Borderou de evaluare (job #2821414) | Borderou de evaluare (job #2440518)
Borderou de evaluare (job #2440518)
Raport evaluator
Compilare:
main.cpp: In function 'void solve()':
main.cpp:25:16: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1000002]' [-Wformat=]
scanf("%s", &s);
^
main.cpp:29:26: warning: NULL used in arithmetic [-Wpointer-arith]
for (int i = 0; s[i] != NULL; ++i)
^~~~
main.cpp:25:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &s);
^
main.cpp: In function 'int main()':
main.cpp:62: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:63: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:66:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 6ms | 262kb | OK | 10 |
3 | 109ms | 1179kb | OK | 10 |
4 | 252ms | 13500kb | Time limit exceeded | 0 |
5 | 252ms | 6815kb | Time limit exceeded | 0 |
6 | 251ms | 11534kb | Time limit exceeded | 0 |
7 | 251ms | 13762kb | Time limit exceeded | 0 |
8 | 251ms | 13500kb | Time limit exceeded | 0 |
9 | 251ms | 4587kb | Time limit exceeded | 0 |
10 | 6ms | 262kb | OK | 10 |
Punctaj total | 40 |