Pagini recente » Cod sursa (job #957055) | Borderou de evaluare (job #2752336) | Borderou de evaluare (job #2034013) | Borderou de evaluare (job #1553406) | Borderou de evaluare (job #2414954)
Borderou de evaluare (job #2414954)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:13:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("mincinosi.in","r",stdin);
^
main.cpp:14:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("mincinosi.out","w",stdout);
^
main.cpp:16:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:19:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
main.cpp:35:9: warning: 'nr' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(v[i] == nr)
^~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Corect! | 10 |
| 2 | 2ms | 131kb | Corect! | 10 |
| 3 | 2ms | 131kb | Corect! | 10 |
| 4 | 7ms | 262kb | Corect! | 10 |
| 5 | 33ms | 786kb | Corect! | 10 |
| 6 | 2ms | 131kb | Killed by Signal 11 | 0 |
| 7 | 2ms | 131kb | Killed by Signal 11 | 0 |
| 8 | 2ms | 131kb | Killed by Signal 11 | 0 |
| 9 | 2ms | 131kb | Killed by Signal 11 | 0 |
| 10 | 2ms | 131kb | Killed by Signal 11 | 0 |
| Punctaj total | 50 |