Pagini recente » Borderou de evaluare (job #335828) | Borderou de evaluare (job #2685675) | Borderou de evaluare (job #220707) | Borderou de evaluare (job #842660) | Borderou de evaluare (job #1198113)
Borderou de evaluare (job #1198113)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%s",&p,&s);
^
user.cpp:26:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[100003]’ [-Wformat=]
user.cpp:33:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",e+1);
^
user.cpp:42:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",sol);
^
user.cpp:24:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spion.in","r",stdin);
^
user.cpp:25:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spion.out","w",stdout);
^
user.cpp:26:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%s",&p,&s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 5 |
2 | 0ms | 280kb | OK | 5 |
3 | 0ms | 340kb | OK | 5 |
4 | 0ms | 356kb | OK | 5 |
5 | 0ms | 268kb | OK | 5 |
6 | 0ms | 264kb | OK | 5 |
7 | 0ms | 280kb | OK | 5 |
8 | 0ms | 280kb | OK | 5 |
9 | 0ms | 304kb | OK | 5 |
10 | 0ms | 304kb | OK | 5 |
11 | 0ms | 444kb | OK | 5 |
12 | 0ms | 532kb | OK | 5 |
13 | 0ms | 620kb | OK | 5 |
14 | 0ms | 704kb | OK | 5 |
15 | 4ms | 792kb | OK | 5 |
16 | 4ms | 876kb | OK | 5 |
17 | 4ms | 968kb | OK | 5 |
18 | 4ms | 1056kb | OK | 5 |
19 | 4ms | 1136kb | OK | 5 |
20 | 4ms | 1136kb | OK | 5 |
Punctaj total | 100 |