Pagini recente » Borderou de evaluare (job #1564150) | Borderou de evaluare (job #1953427) | Borderou de evaluare (job #2907095) | Borderou de evaluare (job #1041693) | Borderou de evaluare (job #1195646)
Borderou de evaluare (job #1195646)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("potriveala.in","r",stdin);
^
user.cpp:34:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("potriveala.out","w",stdout);
^
user.cpp:37:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(A); strcat(A,"#"); L1=strlen(A); //L1++; l1 = strlen(A);
^
user.cpp:38:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(B); //l2 = strlen(B);
^
user.cpp:39:16: warning: ‘l1’ is used uninitialized in this function [-Wuninitialized]
for(i=1;i<=l1 / l2 + 3; ++i) strcat(A,B);
^
user.cpp:39:16: warning: ‘l2’ is used uninitialized in this function [-Wuninitialized]
/tmp/ccQVHRcx.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 |
Punctaj/grupa |
✓ | 1 | 0ms | 268kb | OK | 10 | 10 |
✗ | 2 | 0ms | 276kb | OK | 10 | 10 |
✗ | 3 | 0ms | 340kb | OK | 10 | 10 |
✗ | 4 | 20ms | 736kb | OK | 10 | 10 |
✓ | 5 | 136ms | 2664kb | OK | 10 | 10 |
✗ | 6 | Depăşit | 3788kb | Time limit exceeded. | 0 | 0 |
✗ | 7 | Depăşit | 4236kb | Time limit exceeded. | 0 | 0 |
✗ | 8 | Depăşit | 6660kb | Time limit exceeded. | 0 | 0 |
✗ | 9 | Depăşit | 7604kb | Time limit exceeded. | 0 |
✗ | 10 | Depăşit | 10028kb | Time limit exceeded. | 0 |
Punctaj total | 50 |