Pagini recente » Borderou de evaluare (job #2132861) | Cod sursa (job #446331) | Borderou de evaluare (job #1496507) | Cod sursa (job #269331) | Borderou de evaluare (job #1227310)
Borderou de evaluare (job #1227310)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:6:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("swaps2.in","r",stdin);
^
user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("swaps2.out","w",stdout);
^
user.cpp:8:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:9:31: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=n;i++) gets(s);
^
/tmp/ccq3qhXE.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 |
Punctaj/grupa |
| 1 | 0ms | 272kb | OK! | 10 | 100 |
| 2 | 0ms | 268kb | OK! | 10 |
| 3 | 0ms | 272kb | OK! | 10 |
| 4 | 0ms | 268kb | OK! | 10 |
| 5 | 0ms | 272kb | OK! | 10 |
| 6 | 4ms | 276kb | OK! | 10 |
| 7 | 4ms | 268kb | OK! | 10 |
| 8 | 8ms | 276kb | OK! | 10 |
| 9 | 8ms | 272kb | OK! | 10 |
| 10 | 8ms | 268kb | OK! | 10 |
| Punctaj total | 100 |