Pagini recente » Borderou de evaluare (job #2525962) | Borderou de evaluare (job #1404821) | Borderou de evaluare (job #1260068) | Borderou de evaluare (job #1598301) | Borderou de evaluare (job #1431930)
Borderou de evaluare (job #1431930)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv1.in", "r", stdin);
^
user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv1.out", "w", stdout);
^
user.cpp:9:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:22:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &vi);
^
user.cpp:23:24: warning: ‘ant’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(ant==vi && vi==0)ok=0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 248kb | OK | 10 |
2 | 0ms | 248kb | OK | 10 |
3 | 0ms | 240kb | OK | 10 |
4 | 8ms | 248kb | OK | 10 |
5 | 8ms | 244kb | OK | 10 |
6 | 12ms | 244kb | OK | 10 |
7 | 16ms | 244kb | OK | 10 |
8 | 16ms | 244kb | OK | 10 |
9 | 20ms | 248kb | OK | 10 |
10 | 20ms | 244kb | OK | 10 |
Punctaj total | 100 |