Pagini recente » Borderou de evaluare (job #818356) | Borderou de evaluare (job #2216859) | Borderou de evaluare (job #2493590) | Borderou de evaluare (job #621620) | Borderou de evaluare (job #1671783)
Borderou de evaluare (job #1671783)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:19: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
a[n+1]=NULL; n++; a[poz]=c;
^
user.cpp:9:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("diez.in","r",stdin);
^
user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("diez.out","w",stdout);
^
user.cpp:11:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%c",&n,&m,&z);
^
user.cpp:12:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a);
^
user.cpp:15:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&tip);
^
user.cpp:18:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%c%c",&poz,&z,&c);
^
user.cpp:24:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&p,&r,&lg);
^
/tmp/ccWWDmQT.o: In function `main':
user.cpp:(.text.startup+0x7f): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 4 |
2 | 0ms | 280kb | OK | 4 |
3 | 4ms | 288kb | OK | 4 |
4 | 76ms | 328kb | OK | 4 |
5 | Depăşit | 392kb | Time limit exceeded. | 0 |
6 | Depăşit | 400kb | Time limit exceeded. | 0 |
7 | Depăşit | 400kb | Time limit exceeded. | 0 |
8 | Depăşit | 412kb | Time limit exceeded. | 0 |
9 | Depăşit | 384kb | Time limit exceeded. | 0 |
10 | Depăşit | 388kb | Time limit exceeded. | 0 |
11 | Depăşit | 384kb | Time limit exceeded. | 0 |
12 | Depăşit | 392kb | Time limit exceeded. | 0 |
13 | Depăşit | 388kb | Time limit exceeded. | 0 |
14 | Depăşit | 388kb | Time limit exceeded. | 0 |
15 | Depăşit | 392kb | Time limit exceeded. | 0 |
16 | Depăşit | 392kb | Time limit exceeded. | 0 |
17 | Depăşit | 544kb | Time limit exceeded. | 0 |
18 | Depăşit | 552kb | Time limit exceeded. | 0 |
19 | Depăşit | 548kb | Time limit exceeded. | 0 |
20 | Depăşit | 572kb | Time limit exceeded. | 0 |
21 | Depăşit | 552kb | Time limit exceeded. | 0 |
22 | Depăşit | 548kb | Time limit exceeded. | 0 |
23 | Depăşit | 400kb | Time limit exceeded. | 0 |
24 | Depăşit | 440kb | Time limit exceeded. | 0 |
25 | Depăşit | 548kb | Time limit exceeded. | 0 |
Punctaj total | 16 |