Pagini recente » Borderou de evaluare (job #1945740) | Borderou de evaluare (job #1609219) | Borderou de evaluare (job #2122220) | Borderou de evaluare (job #2496000) | Borderou de evaluare (job #1702176)
Borderou de evaluare (job #1702176)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:148:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("copii.in","r",stdin);
^
user.cpp:149:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("copii.out","w",stdout);
^
user.cpp:151:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:154:30: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
for (gets(A+1), j = 1; j <= n; ++j)
^
/tmp/ccSxbSbX.o: In function `main':
user.cpp:(.text.startup+0x80): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 392kb | OK | 10 |
2 | 0ms | 524kb | OK | 10 |
3 | 0ms | 520kb | OK | 10 |
4 | 0ms | 1296kb | OK | 10 |
5 | 4ms | 2320kb | OK | 10 |
6 | 4ms | 2324kb | OK | 10 |
7 | 20ms | 4376kb | OK | 10 |
8 | 24ms | 4376kb | OK | 10 |
9 | 20ms | 4376kb | OK | 10 |
10 | 24ms | 4372kb | OK | 10 |
Punctaj total | 100 |