Pagini recente » Borderou de evaluare (job #838124) | Borderou de evaluare (job #2331695) | Borderou de evaluare (job #2597110) | Borderou de evaluare (job #890470) | Borderou de evaluare (job #9931)
Borderou de evaluare (job #9931)
Raport evaluator
Compilare:
user.cpp: In function ‘void smart()’:
user.cpp:14:13: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, k;
^
user.cpp:14:16: warning: unused variable ‘k’ [-Wunused-variable]
int i, j, k;
^
user.cpp: In function ‘int main()’:
user.cpp:52:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,k;
^
user.cpp:49:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv5.in", "r", stdin);
^
user.cpp:50:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv5.out", "w", stdout);
^
user.cpp:51:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n", &n, &p, &u);
^
user.cpp:55:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(lin);
^
/tmp/ccvPg9UO.o: In function `main':
user.cpp:(.text.startup+0x98): 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 | 352kb | OK | 10 |
| 3 | 4ms | 520kb | OK | 10 |
| 4 | 24ms | 1280kb | OK | 10 |
| 5 | 40ms | 1544kb | OK | 10 |
| 6 | 108ms | 4248kb | OK | 10 |
| 7 | 300ms | 9064kb | OK | 10 |
| 8 | 376ms | 10452kb | OK | 10 |
| 9 | 568ms | 15384kb | OK | 10 |
| 10 | 584ms | 18460kb | OK | 10 |
| Punctaj total | 100 |