Pagini recente » Borderou de evaluare (job #1954355) | Borderou de evaluare (job #1439162) | Borderou de evaluare (job #2176263) | Borderou de evaluare (job #554255) | Borderou de evaluare (job #1569578)
Borderou de evaluare (job #1569578)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:72:34: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘std::basic_string<char>::size_type {aka unsigned int}’ [-Wformat=]
printf("%lu\n", prefix.size());
^
user.cpp:50:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ratina.in", "r", stdin);
^
user.cpp:51:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ratina.out", "w", stdout);
^
user.cpp:54:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &N, &Q);
^
user.cpp:56:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(v[i]);
^
user.cpp:62:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:64:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &ind[i]);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:2:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:56:15:
/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/ccrRcsLi.o: In function `main':
user.cpp:(.text.startup+0x96): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 1144kb | Time limit exceeded. | 0 |
2 | Depăşit | 1156kb | Time limit exceeded. | 0 |
3 | Depăşit | 1296kb | Time limit exceeded. | 0 |
4 | Depăşit | 1288kb | Time limit exceeded. | 0 |
5 | Depăşit | 1252kb | Time limit exceeded. | 0 |
6 | Depăşit | 1248kb | Time limit exceeded. | 0 |
7 | Depăşit | 3016kb | Time limit exceeded. | 0 |
8 | Depăşit | 3088kb | Time limit exceeded. | 0 |
9 | Depăşit | 3080kb | Time limit exceeded. | 0 |
10 | Depăşit | 1148kb | Time limit exceeded. | 0 |
11 | Depăşit | 936kb | Time limit exceeded. | 0 |
12 | Depăşit | 1400kb | Time limit exceeded. | 0 |
13 | Depăşit | 1160kb | Time limit exceeded. | 0 |
14 | Depăşit | 1400kb | Time limit exceeded. | 0 |
15 | Depăşit | 1160kb | Time limit exceeded. | 0 |
16 | Depăşit | 21324kb | Time limit exceeded. | 0 |
17 | Depăşit | 21424kb | Time limit exceeded. | 0 |
18 | Depăşit | 21464kb | Time limit exceeded. | 0 |
19 | Depăşit | 21316kb | Time limit exceeded. | 0 |
20 | Depăşit | 21312kb | Time limit exceeded. | 0 |
Punctaj total | 0 |