Pagini recente » Borderou de evaluare (job #912836) | Borderou de evaluare (job #3288612) | Borderou de evaluare (job #1102700) | Borderou de evaluare (job #2641493) | Borderou de evaluare (job #1543475)
Borderou de evaluare (job #1543475)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:61: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if(lung>l){p=strstr(s,w);if (p) {printf("%d",p-s+l+1);break;}}
^
user.cpp:8:52: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("infinitepatternmatching.in","r",stdin);
^
user.cpp:9:54: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("infinitepatternmatching.out","w",stdout);
^
user.cpp:10:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(w+1);
^
/tmp/cclRzmlt.o: In function `main':
user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 252kb | Incorect | 0 |
✗ | 2 | 0ms | 252kb | Incorect | 0 |
✗ | 3 | 0ms | 252kb | Incorect | 0 |
✗ | 4 | 0ms | 252kb | Incorect | 0 |
✗ | 5 | 0ms | 252kb | Incorect | 0 |
✗ | 6 | 0ms | 248kb | Incorect | 0 |
✗ | 7 | 0ms | 248kb | Incorect | 0 |
✗ | 8 | 0ms | 252kb | Incorect | 0 |
✗ | 9 | 0ms | 256kb | Incorect | 0 |
✗ | 10 | 0ms | 252kb | Incorect | 0 |
✓ | 11 | 0ms | 252kb | Incorect | 0 |
✗ | 12 | 0ms | 248kb | Incorect | 0 |
✗ | 13 | 0ms | 252kb | Incorect | 0 |
✗ | 14 | 0ms | 252kb | Incorect | 0 |
✗ | 15 | 0ms | 252kb | Incorect | 0 |
✗ | 16 | 0ms | 248kb | Incorect | 0 |
✗ | 17 | 0ms | 252kb | Incorect | 0 |
✗ | 18 | 0ms | 252kb | Incorect | 0 |
✓ | 19 | 0ms | 256kb | Incorect | 0 |
✗ | 20 | 0ms | 252kb | Incorect | 0 |
✗ | 21 | 0ms | 252kb | Incorect | 0 |
✗ | 22 | 0ms | 252kb | Incorect | 0 |
✗ | 23 | 0ms | 256kb | Incorect | 0 |
✗ | 24 | 0ms | 248kb | Incorect | 0 |
✗ | 25 | 0ms | 256kb | Incorect | 0 |
Punctaj total | 0 |