Pagini recente » Borderou de evaluare (job #2650713) | Borderou de evaluare (job #1034537) | Borderou de evaluare (job #1155698) | Borderou de evaluare (job #539037) | Borderou de evaluare (job #1525886)
Borderou de evaluare (job #1525886)
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 | 260kb | OK | 10 |
2 | 0ms | 268kb | Incorect | 0 |
3 | 0ms | 264kb | Incorect | 0 |
4 | 20ms | 436kb | Incorect | 0 |
5 | 20ms | 460kb | Incorect | 0 |
6 | 24ms | 504kb | Incorect | 0 |
7 | 40ms | 624kb | Incorect | 0 |
8 | 44ms | 632kb | Incorect | 0 |
9 | 44ms | 644kb | Incorect | 0 |
10 | 48ms | 648kb | Incorect | 0 |
Punctaj total | 10 |