Pagini recente » Borderou de evaluare (job #1619349) | Borderou de evaluare (job #2734733) | Borderou de evaluare (job #1531805) | Borderou de evaluare (job #2984866) | Borderou de evaluare (job #1827411)
Borderou de evaluare (job #1827411)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<strlen(s);i++)
^
user.cpp:44:18: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
s1[r]=NULL;
^
user.cpp: In function ‘void fix()’:
user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("texttrim.in","r",stdin);
^
user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("texttrim.out","w",stdout);
^
user.cpp: In function ‘int main()’:
user.cpp:15:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
user.cpp:16:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:17:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:19:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&w);
^
/tmp/ccm0tmp1.o: In function `main':
user.cpp:(.text.startup+0x51): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 444kb | OK | 10 | 0 |
| 2 | 0ms | 436kb | OK | 10 |
| 3 | 0ms | 444kb | OK | 10 |
| 4 | 0ms | 436kb | OK | 10 |
| 5 | 4ms | 468kb | OK | 10 |
| 6 | 0ms | 632kb | OK | 10 |
| 7 | 4ms | 1416kb | OK | 10 |
| 8 | Depăşit | 1392kb | Time limit exceeded. | 0 |
| 9 | 108ms | 1416kb | OK | 10 |
| 10 | Depăşit | 1388kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |