Pagini recente » Borderou de evaluare (job #2893479) | Borderou de evaluare (job #205834) | algoritmiada-2022/runda-4/probleme | Borderou de evaluare (job #653642) | Borderou de evaluare (job #1372473)
Borderou de evaluare (job #1372473)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:15: warning: unused variable ‘val’ [-Wunused-variable]
int n, k, val, l, sgn, j;
^
user.cpp:16:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(inFile, "r", stdin);
^
user.cpp:17:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(outFile, "w", stdout);
^
user.cpp:22:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &k);
^
user.cpp:23:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str);
^
/tmp/ccNFCl3q.o: In function `main':
user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 288kb | OK | 10 |
| 2 | 0ms | 528kb | OK | 10 |
| 3 | 4ms | 1424kb | OK | 10 |
| 4 | 8ms | 1592kb | OK | 10 |
| 5 | 8ms | 2028kb | OK | 10 |
| 6 | 12ms | 2376kb | OK | 10 |
| 7 | 20ms | 3796kb | OK | 10 |
| 8 | 28ms | 5548kb | OK | 10 |
| 9 | 40ms | 7312kb | OK | 10 |
| 10 | 16ms | 3256kb | Killed by signal 6(SIGABRT). | 0 |
| Punctaj total | 90 |