Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #1286983)
| Utilizator | Data | 7 decembrie 2014 13:26:48 | |
|---|---|---|---|
| Problema | Perioada01 | Status | done |
| Runda | Algoritmiada 2015 - Runda 1, Seniori | Compilator | cpp | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:10:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld %ld",&n,&p);
^
user.cpp:10:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:12:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&v[i]);
^
user.cpp: In function ‘void rezolvare()’:
user.cpp:36:27: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n",rez);
^
user.cpp: In function ‘void citire()’:
user.cpp:10:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&n,&p);
^
user.cpp:12:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&v[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:41:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perioada01.in","r",stdin);
^
user.cpp:42:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perioada01.out","w",stdout);
^
![]() | Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test | Punctaj/grupa |
|---|---|---|---|---|---|---|
| ✗ | 1 | 0ms | 268kb | OK | 10 | 20 |
| ✓ | 2 | 0ms | 248kb | OK | 10 | |
| ✗ | 3 | 0ms | 240kb | OK | 10 | 20 |
| ✗ | 4 | 0ms | 256kb | OK | 10 | |
| ✓ | 5 | 24ms | 580kb | OK | 10 | 20 |
| ✗ | 6 | 24ms | 560kb | OK | 10 | |
| ✗ | 7 | 200ms | 3068kb | OK | 10 | 40 |
| ✓ | 8 | 228ms | 3068kb | OK | 10 | |
| ✗ | 9 | 228ms | 3072kb | OK | 10 | |
| ✗ | 10 | 444ms | 3048kb | OK | 10 | |
| Punctaj total | 100 | |||||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !

