Pagini recente » Diferente pentru utilizator/test.php intre reviziile 88 si 87 | Borderou de evaluare (job #1584457) | Cod sursa (job #596168) | Cod sursa (job #2124203) | Borderou de evaluare (job #1658999)
Borderou de evaluare (job #1658999)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:87:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("showroom.in","r",stdin);
^
user.cpp:88:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("showroom.out","w",stdout);
^
user.cpp:90:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d\n", &n, &x, &r, &k);
^
user.cpp:94:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1); int m = strlen(s+1); s[m+1] = ' ';
^
user.cpp:107:35: warning: ‘f’ may be used uninitialized in this function [-Wmaybe-uninitialized]
else unite(f , ss);
^
/tmp/ccvcGFEa.o: In function `main':
user.cpp:(.text.startup+0xa0): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 476kb | OK | 10 |
| 2 | 0ms | 484kb | OK | 10 |
| 3 | 0ms | 536kb | OK | 10 |
| 4 | 0ms | 580kb | OK | 10 |
| 5 | 12ms | 992kb | OK | 10 |
| 6 | 24ms | 1428kb | OK | 10 |
| 7 | 48ms | 2168kb | OK | 10 |
| 8 | 160ms | 5008kb | OK | 10 |
| 9 | 16ms | 476kb | OK | 10 |
| 10 | 160ms | 5008kb | OK | 10 |
| Punctaj total | 100 |