Pagini recente » Statistici Petrica Galan (petricagalan) | Cod sursa (job #1945055) | Cod sursa (job #1293230) | Rating Vinita Kaur (vinitakaur) | Borderou de evaluare (job #2265553)
Borderou de evaluare (job #2265553)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:14:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen(FILE_IN, "r", stdin);
^
main.cpp:15:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen(FILE_OUT, "w", stdout);
^
main.cpp:18:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &N);
^
main.cpp:21:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", V + i);
^
main.cpp:35:23: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized]
for(int i = pos - 1, k = K - 1; i && k; --i)
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 3ms | 131kb | Lungime incorecta! | 0 | 0 |
| 2 | 4ms | 131kb | Corect! | 10 | 10 |
| 3 | 3ms | 131kb | Lungime incorecta! | 0 | 0 |
| 4 | 3ms | 131kb | Lungime incorecta! | 0 | 0 |
| 5 | 3ms | 131kb | Lungime incorecta! | 0 | 0 |
| 6 | 3ms | 131kb | Lungime incorecta! | 0 | 0 |
| 7 | 3ms | 131kb | Lungime incorecta! | 0 | 0 |
| 8 | 47ms | 819kb | Lungime incorecta! | 0 | 0 |
| 9 | 44ms | 860kb | Corect! | 10 |
| 10 | 43ms | 835kb | Lungime incorecta! | 0 |
| Punctaj total | 10 |