Pagini recente » Borderou de evaluare (job #1216393) | Borderou de evaluare (job #2912677) | Borderou de evaluare (job #1754159) | Borderou de evaluare (job #2710597) | Borderou de evaluare (job #1554232)
Borderou de evaluare (job #1554232)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:32: warning: passing NULL to non-pointer argument 2 of ‘void* memset(void*, int, size_t)’ [-Wconversion-null]
memset(s,NULL,sizeof(s));
^
user.cpp:15:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("virus.in","r",stdin);
^
user.cpp:16:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("virus.out","w",stdout);
^
user.cpp:17:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &K);
^
user.cpp:18:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
user.cpp:21:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &nn);
^
user.cpp:25:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/ccmWcGiQ.o: In function `main':
user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 1608kb | Time limit exceeded. | 0 |
2 | 108ms | 1340kb | Incorect | 0 |
3 | Depăşit | 1704kb | Time limit exceeded. | 0 |
4 | Depăşit | 1608kb | Time limit exceeded. | 0 |
5 | Depăşit | 1696kb | Time limit exceeded. | 0 |
6 | 372ms | 1548kb | Incorect | 0 |
7 | Depăşit | 1700kb | Time limit exceeded. | 0 |
8 | Depăşit | 1700kb | Time limit exceeded. | 0 |
9 | 388ms | 1524kb | Incorect | 0 |
10 | 140ms | 1348kb | Incorect | 0 |
Punctaj total | 0 |