Pagini recente » Borderou de evaluare (job #1809972) | Borderou de evaluare (job #367995) | Borderou de evaluare (job #2091704) | Borderou de evaluare (job #1077214) | Borderou de evaluare (job #1223238)
Borderou de evaluare (job #1223238)
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:27:14: note: in expansion of macro ‘infi’
v[MAX+1]=infi;
^
user.cpp:29:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (s[i]==j && S[i]<v[j+1])
^
user.cpp:31: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 | 308kb | Lungime incorecta! | 0 | 0 |
2 | 0ms | 324kb | Lungime incorecta! | 0 | 0 |
3 | 0ms | 324kb | Killed by signal 6(SIGABRT). | 0 | 0 |
4 | 0ms | 320kb | Killed by signal 6(SIGABRT). | 0 | 0 |
5 | 0ms | 300kb | Lungime incorecta! | 0 | 0 |
6 | 0ms | 324kb | Killed by signal 6(SIGABRT). | 0 | 0 |
7 | 0ms | 324kb | Killed by signal 6(SIGABRT). | 0 | 0 |
8 | 28ms | 708kb | Killed by signal 6(SIGABRT). | 0 | 0 |
9 | 32ms | 696kb | Killed by signal 6(SIGABRT). | 0 |
10 | 60ms | 1448kb | Lungime incorecta! | 0 |
Punctaj total | 0 |