Pagini recente » Borderou de evaluare (job #2054731) | Borderou de evaluare (job #1151031) | Borderou de evaluare (job #1139277) | Borderou de evaluare (job #1887754) | Borderou de evaluare (job #1253838)
Borderou de evaluare (job #1253838)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:21: warning: integer overflow in expression [-Woverflow]
#define INF (1<<31)-1
^
user.cpp:53:33: note: in expansion of macro ‘INF’
for (i=1;i<=N;i++) minim[i]=INF;
^
user.cpp:28:21: warning: integer overflow in expression [-Woverflow]
#define INF (1<<31)-1
^
user.cpp:57:33: note: in expansion of macro ‘INF’
for (i=1;i<=N;i++) D[i]=INF;
^
user.cpp:28:21: warning: integer overflow in expression [-Woverflow]
#define INF (1<<31)-1
^
user.cpp:80:48: note: in expansion of macro ‘INF’
for (i=1;i<=N;i++) printf("%d ",(minim[i]==INF)?0:sol[i]);
^
user.cpp:42:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("catun.in","r",stdin);
^
user.cpp:43:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("catun.out","w",stdout);
^
user.cpp:44:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&N,&M,&K);
^
user.cpp:45:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=K;i++) scanf("%d",&catune[i]);
^
user.cpp:49:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&x,&y,&z);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 880kb | OK | 10 |
2 | 4ms | 988kb | OK | 10 |
3 | 36ms | 1048kb | Incorect | 0 |
4 | 0ms | 872kb | Incorect | 0 |
5 | Depăşit | 1748kb | Time limit exceeded. | 0 |
6 | 104ms | 2484kb | OK | 10 |
7 | 4ms | 1040kb | OK | 10 |
8 | Depăşit | 1200kb | Time limit exceeded. | 0 |
9 | Depăşit | 2008kb | Time limit exceeded. | 0 |
10 | Depăşit | 3344kb | Time limit exceeded. | 0 |
Punctaj total | 40 |