Pagini recente » Borderou de evaluare (job #221027) | Borderou de evaluare (job #2836511) | Borderou de evaluare (job #2314445) | Borderou de evaluare (job #355138) | Borderou de evaluare (job #1313998)
Borderou de evaluare (job #1313998)
Raport evaluator
Compilare:
user.cpp: In function ‘void Read()’:
user.cpp:20:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( i = 0 ; i < strlen(s) ; ++i )
^
user.cpp:18:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);getchar();gets(s);
^
user.cpp:18:38: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);getchar();gets(s);
^
user.cpp:27:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:30:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp: In function ‘void Solve_it()’:
user.cpp:77:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%d", &k); k > 0 ; --k)
^
user.cpp:79:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nr);
^
user.cpp:84:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
/tmp/ccKS4mHN.o: In function `Read()':
user.cpp:(.text+0x246): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 3016kb | OK | 10 |
2 | 12ms | 3012kb | OK | 10 |
3 | 16ms | 3012kb | OK | 10 |
4 | 32ms | 3016kb | OK | 10 |
5 | 56ms | 3084kb | OK | 10 |
6 | 80ms | 3196kb | OK | 10 |
7 | 128ms | 3552kb | OK | 10 |
8 | 372ms | 4748kb | OK | 10 |
9 | 864ms | 5944kb | OK | 10 |
10 | 968ms | 8984kb | OK | 10 |
Punctaj total | 100 |