Pagini recente » Borderou de evaluare (job #2298567) | Borderou de evaluare (job #1855177) | Borderou de evaluare (job #928947) | Borderou de evaluare (job #2112065) | Borderou de evaluare (job #1448591)
Borderou de evaluare (job #1448591)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:49:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("search.in","r",stdin);
^
user.cpp:50:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("search.out","w",stdout);
^
user.cpp:52:29: 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:55:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(A[i]+1);
^
user.cpp:64:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c\n", &litera);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:4:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:55:21:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
/tmp/ccmvnIRc.o: In function `main':
user.cpp:(.text.startup+0x90): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 336kb | OK | 5 |
2 | 0ms | 396kb | OK | 5 |
3 | 0ms | 1280kb | OK | 5 |
4 | 0ms | 2112kb | OK | 5 |
5 | 16ms | 9960kb | OK | 5 |
6 | 0ms | 2364kb | OK | 5 |
7 | 96ms | 38812kb | OK | 5 |
8 | 116ms | 38148kb | OK | 5 |
9 | Depăşit | 52896kb | Time limit exceeded. | 0 |
10 | Depăşit | 53396kb | Time limit exceeded. | 0 |
11 | Depăşit | 53400kb | Time limit exceeded. | 0 |
12 | 928ms | 42680kb | OK | 5 |
13 | 996ms | 45528kb | OK | 5 |
14 | Depăşit | 48164kb | Time limit exceeded. | 0 |
15 | 260ms | 14640kb | OK | 5 |
16 | 840ms | 18104kb | OK | 5 |
17 | 712ms | 31468kb | OK | 5 |
18 | 872ms | 53924kb | OK | 5 |
19 | Depăşit | 53432kb | Time limit exceeded. | 0 |
20 | 796ms | 53636kb | OK | 5 |
Punctaj total | 75 |