Pagini recente » Borderou de evaluare (job #957891) | Borderou de evaluare (job #1971878) | Borderou de evaluare (job #852272) | Borderou de evaluare (job #1875908) | Borderou de evaluare (job #1702180)
Borderou de evaluare (job #1702180)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:68: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:69: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:71:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:74: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/cc4oLqGQ.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 | 564kb | OK | 10 |
2 | 0ms | 692kb | OK | 10 |
3 | 0ms | 692kb | OK | 10 |
4 | 0ms | 1468kb | OK | 10 |
5 | 4ms | 2488kb | OK | 10 |
6 | 4ms | 2492kb | OK | 10 |
7 | 16ms | 4548kb | OK | 10 |
8 | 20ms | 4544kb | OK | 10 |
9 | 20ms | 4548kb | OK | 10 |
10 | 20ms | 4544kb | OK | 10 |
Punctaj total | 100 |