Borderou de evaluare (job #2155092)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[100001]’ [-Wformat=]
scanf("%d%s",&p,&v);
^
user.cpp:42:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<strlen(v);++i)
^
user.cpp:55:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",sol);
^
user.cpp:37: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:38: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:39:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%s",&p,&v);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1292kb | OK | 5 |
2 | 0ms | 1312kb | OK | 5 |
3 | 0ms | 1368kb | OK | 5 |
4 | 0ms | 1388kb | OK | 5 |
5 | 0ms | 1304kb | OK | 5 |
6 | 0ms | 1300kb | Incorect | 0 |
7 | 0ms | 1300kb | Incorect | 0 |
8 | 4ms | 1304kb | Incorect | 0 |
9 | 8ms | 1308kb | Incorect | 0 |
10 | 12ms | 1308kb | Incorect | 0 |
11 | Depăşit | 1268kb | Time limit exceeded. | 0 |
12 | 16ms | 1292kb | Killed by signal 8(SIGFPE). | 0 |
13 | 0ms | 1300kb | Killed by signal 11(SIGSEGV). | 0 |
14 | 0ms | 1324kb | Killed by signal 11(SIGSEGV). | 0 |
15 | 0ms | 1344kb | Killed by signal 11(SIGSEGV). | 0 |
16 | 0ms | 1360kb | Killed by signal 11(SIGSEGV). | 0 |
17 | 0ms | 1380kb | Killed by signal 11(SIGSEGV). | 0 |
18 | 0ms | 1400kb | Killed by signal 11(SIGSEGV). | 0 |
19 | 4ms | 1420kb | Killed by signal 11(SIGSEGV). | 0 |
20 | 4ms | 1420kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 25 |