Pagini recente » Borderou de evaluare (job #2119918) | Borderou de evaluare (job #700481) | Borderou de evaluare (job #1718914) | Borderou de evaluare (job #1031262) | Borderou de evaluare (job #2278826)
Borderou de evaluare (job #2278826)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:28:23: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[6]' [-Wformat=]
scanf("%s", &s);
^
main.cpp:37:38: warning: format '%i' expects argument of type 'int', but argument 2 has type 'std::map<std::__cxx11::basic_string<char>, int>::size_type {aka long unsigned int}' [-Wformat=]
if(p == 1) printf("%i", ap.size());
^
main.cpp:17:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("zimeria.in", "r", stdin);
^
main.cpp:18:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("zimeria.out", "w", stdout);
^
main.cpp:23:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i", &p, &n);
^
main.cpp:24:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", a);
^
main.cpp:28:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 5 |
2 | 4ms | 262kb | OK | 5 |
3 | 123ms | 4063kb | OK | 5 |
4 | 232ms | 7208kb | OK | 5 |
5 | 274ms | 8208kb | Memory limit exceeded | 0 |
6 | 285ms | 8208kb | Memory limit exceeded | 0 |
7 | 2ms | 131kb | Incorect | 0 |
8 | 4ms | 262kb | Incorect | 0 |
9 | 5ms | 262kb | Incorect | 0 |
10 | 11ms | 524kb | Incorect | 0 |
11 | 22ms | 917kb | Incorect | 0 |
12 | 44ms | 1703kb | Incorect | 0 |
13 | 95ms | 3276kb | Incorect | 0 |
14 | 192ms | 6029kb | Incorect | 0 |
15 | 256ms | 7208kb | Incorect | 0 |
16 | 284ms | 8208kb | Memory limit exceeded | 0 |
17 | 260ms | 8208kb | Memory limit exceeded | 0 |
18 | 303ms | 7733kb | Time limit exceeded | 0 |
19 | 280ms | 8208kb | Memory limit exceeded | 0 |
20 | 271ms | 8208kb | Memory limit exceeded | 0 |
Punctaj total | 20 |