Pagini recente » Borderou de evaluare (job #1944528) | Borderou de evaluare (job #500254) | Borderou de evaluare (job #399221) | Borderou de evaluare (job #881450) | Borderou de evaluare (job #2160467)
Borderou de evaluare (job #2160467)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:15:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:15:11: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:30:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(ind[i]>g[i].size())
^
user.cpp:38:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(ind[i]>g[i].size()){
^
user.cpp:14:28: warning: unused variable ‘x’ [-Wunused-variable]
int n,i,maxx,nr=0,minn,x,y,k,maxpoz,ii;
^
user.cpp:14:30: warning: unused variable ‘y’ [-Wunused-variable]
int n,i,maxx,nr=0,minn,x,y,k,maxpoz,ii;
^
user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{ freopen("smooth2.in", "r",stdin);
^
user.cpp:13:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("smooth2.out", "w",stdout);
^
user.cpp:15:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:55:20: warning: ‘ii’ may be used uninitialized in this function [-Wmaybe-uninitialized]
cval[ii]++;
^
/tmp/cc8pIIk5.o: In function `main':
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 4ms | 2196kb | OK! | 0 | 0 |
✓ | 2 | 4ms | 2200kb | OK! | 0 | 0 |
✓ | 3 | 4ms | 2200kb | OK! | 0 | 0 |
✓ | 4 | 4ms | 2288kb | OK! | 0 | 0 |
✗ | 5 | 4ms | 2216kb | OK! | 3 | 3 |
✗ | 6 | 4ms | 2196kb | Raspuns gresit! | 0 | 0 |
✗ | 7 | 4ms | 2192kb | OK! | 2 | 2 |
✗ | 8 | 4ms | 2160kb | Raspuns gresit! | 0 | 0 |
✗ | 9 | 4ms | 2280kb | OK! | 3 | 3 |
✗ | 10 | 4ms | 2272kb | OK! | 3 | 3 |
✗ | 11 | 4ms | 2284kb | OK! | 4 | 4 |
✗ | 12 | 4ms | 2300kb | Raspuns gresit! | 0 | 0 |
✗ | 13 | 28ms | 2720kb | Raspuns gresit! | 0 |
✗ | 14 | 4ms | 2292kb | Raspuns gresit! | 0 |
✗ | 15 | 28ms | 2800kb | Raspuns gresit! | 0 |
✗ | 16 | 28ms | 2588kb | Raspuns gresit! | 0 |
✗ | 17 | 28ms | 2824kb | Raspuns gresit! | 0 |
✗ | 18 | 28ms | 2600kb | Raspuns gresit! | 0 | 0 |
✗ | 19 | 24ms | 2572kb | Raspuns gresit! | 0 |
✗ | 20 | 24ms | 2596kb | Raspuns gresit! | 0 |
Punctaj total | 15 |