Pagini recente » Borderou de evaluare (job #526533) | Borderou de evaluare (job #2181377) | Borderou de evaluare (job #2163870) | Borderou de evaluare (job #1106427) | Borderou de evaluare (job #1848056)
Borderou de evaluare (job #1848056)
Raport evaluator
Compilare:
user.cpp: In function ‘int split(int, int)’:
user.cpp:20:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<list1.size();i++)
^
user.cpp:21:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<list2.size();j++)
^
user.cpp: In function ‘int main()’:
user.cpp:32:30: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[10]’ [-Wformat=]
scanf("%s %s\n",&a,&b);
^
user.cpp:32:30: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[10]’ [-Wformat=]
user.cpp:27:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("minerale.in","r",stdin);
^
user.cpp:28:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("minerale.out","w",stdout);
^
user.cpp:29:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&n,&m);
^
user.cpp:32:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s %s\n",&a,&b);
^
user.cpp:39:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str+1);
^
/tmp/ccbPfLG5.o: In function `main':
user.cpp:(.text.startup+0x21d): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 436kb | OK | 10 |
2 | 0ms | 436kb | OK | 10 |
3 | 48ms | 468kb | OK | 10 |
4 | 284ms | 472kb | OK | 10 |
5 | 748ms | 468kb | OK | 10 |
6 | 320ms | 452kb | OK | 10 |
7 | 316ms | 456kb | OK | 10 |
8 | Depăşit | 456kb | Time limit exceeded. | 0 |
9 | Depăşit | 448kb | Time limit exceeded. | 0 |
10 | Depăşit | 456kb | Time limit exceeded. | 0 |
Punctaj total | 70 |