Pagini recente » Borderou de evaluare (job #2276484) | Borderou de evaluare (job #1455969) | Borderou de evaluare (job #2483900) | Borderou de evaluare (job #2340134) | Borderou de evaluare (job #1223240)
Borderou de evaluare (job #1223240)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:4:19: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
# define infi (1LL<<31-1)
^
user.cpp:18:14: note: in expansion of macro ‘infi’
V[i]=infi;
^
user.cpp:4:19: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
# define infi (1LL<<31-1)
^
user.cpp:26:14: note: in expansion of macro ‘infi’
v[MAX+1]=infi;
^
user.cpp:28:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (s[i]==j && S[i]<v[j+1])
^
user.cpp:30:48: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘unsigned int*’ [-Wformat=]
for (int i=1;i<=MAX;++i) printf("%d ",(v+i));
^
user.cpp:10:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.in","r",stdin);
^
user.cpp:11:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.out","w",stdout);
^
user.cpp:13:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:14:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i=1;i<=n;++i) scanf("%d",S+i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 304kb | Subsir incorect! | 5 | 5 |
2 | 0ms | 332kb | Subsir incorect! | 5 | 5 |
3 | 0ms | 292kb | Lungime incorecta! | 0 | 0 |
4 | 0ms | 304kb | Lungime incorecta! | 0 | 0 |
5 | 0ms | 304kb | Subsir incorect! | 5 | 5 |
6 | 0ms | 316kb | Lungime incorecta! | 0 | 0 |
7 | 0ms | 316kb | Lungime incorecta! | 0 | 0 |
8 | 64ms | 1468kb | Lungime incorecta! | 0 | 0 |
9 | 64ms | 1472kb | Lungime incorecta! | 0 |
10 | 40ms | 1460kb | Subsir incorect! | 5 |
Punctaj total | 15 |