Pagini recente » Borderou de evaluare (job #1669750) | Borderou de evaluare (job #424014) | Borderou de evaluare (job #2397774) | Borderou de evaluare (job #2983997) | Borderou de evaluare (job #1525880)
Borderou de evaluare (job #1525880)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
for(int i=1; i<=n; i++) scanf("%d",&v[i]);
^
user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("galagie.in","r",stdin);
^
user.cpp:10:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("galagie.out","w",stdout);
^
user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:13:46: 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",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | Incorect | 0 |
2 | 0ms | 264kb | Incorect | 0 |
3 | 0ms | 264kb | Incorect | 0 |
4 | 16ms | 440kb | Incorect | 0 |
5 | 24ms | 468kb | Incorect | 0 |
6 | 28ms | 500kb | Incorect | 0 |
7 | 44ms | 620kb | Incorect | 0 |
8 | 48ms | 632kb | Incorect | 0 |
9 | 44ms | 648kb | Incorect | 0 |
10 | 48ms | 648kb | Incorect | 0 |
Punctaj total | 0 |