Pagini recente » Borderou de evaluare (job #362487) | Borderou de evaluare (job #2461869) | Borderou de evaluare (job #2032281) | Borderou de evaluare (job #2499180) | Borderou de evaluare (job #1827413)
Borderou de evaluare (job #1827413)
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/ccbqAtqo.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 | 440kb | OK | 10 | 0 |
2 | 0ms | 440kb | OK | 10 |
3 | 0ms | 440kb | OK | 10 |
4 | 0ms | 444kb | OK | 10 |
5 | 4ms | 464kb | OK | 10 |
6 | 0ms | 632kb | OK | 10 |
7 | 4ms | 1412kb | OK | 10 |
8 | Depăşit | 1384kb | Time limit exceeded. | 0 |
9 | 108ms | 1408kb | OK | 10 |
10 | Depăşit | 1388kb | Time limit exceeded. | 0 |
Punctaj total | 0 |