Pagini recente » Borderou de evaluare (job #223322) | Borderou de evaluare (job #903719) | Borderou de evaluare (job #2773741) | Borderou de evaluare (job #201742) | Borderou de evaluare (job #1954592)
Borderou de evaluare (job #1954592)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:99:13: warning: unused variable ‘nr’ [-Wunused-variable]
int nr = v[i] * 100 + v[i + 1] * 10 + v[i + 2];
^
user.cpp:37:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("text5.in", "r", stdin);
^
user.cpp:38:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("text5.out", "w", stdout);
^
user.cpp:41:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &n);
^
user.cpp:43:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (v + 1);
^
/tmp/ccUlueyX.o: In function `main':
user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 352kb | Corect! | 10 |
2 | 0ms | 356kb | Corect! | 10 |
3 | 0ms | 368kb | Corect! | 10 |
4 | 52ms | 5984kb | Corect! | 10 |
5 | 72ms | 7212kb | Corect! | 10 |
6 | 144ms | 14384kb | Corect! | 10 |
7 | 148ms | 14176kb | Corect! | 10 |
8 | 184ms | 17604kb | Corect! | 10 |
9 | 156ms | 16780kb | Corect! | 10 |
10 | 0ms | 344kb | Corect! | 10 |
Punctaj total | 100 |