Pagini recente » Borderou de evaluare (job #1512996) | Borderou de evaluare (job #1976061) | Borderou de evaluare (job #1034013) | Borderou de evaluare (job #1442690) | Borderou de evaluare (job #2189969)
Borderou de evaluare (job #2189969)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s1);
^~~~
In file included from /usr/include/c++/6/cstdio:42:0,
from /usr/include/x86_64-linux-gnu/c++/6/32/bits/stdc++.h:46,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^~~~
user.cpp:12:12: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s1);
^
In file included from /usr/include/c++/6/cstdio:42:0,
from /usr/include/x86_64-linux-gnu/c++/6/32/bits/stdc++.h:46,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^~~~
user.cpp:17:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(str);//cout<<str<<" ";
^~~~
In file included from /usr/include/c++/6/cstdio:42:0,
from /usr/include/x86_64-linux-gnu/c++/6/32/bits/stdc++.h:46,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^~~~
user.cpp:17:17: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(str);//cout<<str<<" ";
^
In file included from /usr/include/c++/6/cstdio:42:0,
from /usr/include/x86_64-linux-gnu/c++/6/32/bits/stdc++.h:46,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^~~~
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("zimeria.in", "r",stdin);
^
user.cpp:9:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zimeria.out", "w",stdout);
^
user.cpp:11:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ", &p, &n);
^
user.cpp:12:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s1);
^
user.cpp:17:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 3372kb | OK | 5 |
2 | 0ms | 3368kb | OK | 5 |
3 | 12ms | 3376kb | OK | 5 |
4 | 28ms | 3376kb | OK | 5 |
5 | 60ms | 3372kb | OK | 5 |
6 | 116ms | 3524kb | OK | 5 |
7 | 0ms | 3372kb | OK | 5 |
8 | 0ms | 3368kb | OK | 5 |
9 | 4ms | 3368kb | OK | 5 |
10 | 8ms | 3368kb | OK | 5 |
11 | 12ms | 3372kb | OK | 5 |
12 | 24ms | 3368kb | OK | 5 |
13 | 44ms | 3372kb | OK | 5 |
14 | 88ms | 3372kb | OK | 5 |
15 | 116ms | 3368kb | OK | 5 |
16 | 172ms | 3376kb | OK | 5 |
17 | 228ms | 3368kb | OK | 5 |
18 | 296ms | 3368kb | OK | 5 |
19 | Depăşit | 3368kb | Time limit exceeded. | 0 |
20 | Depăşit | 3524kb | Time limit exceeded. | 0 |
Punctaj total | 90 |