Pagini recente » Borderou de evaluare (job #1706565) | Borderou de evaluare (job #414028) | Borderou de evaluare (job #2592671) | Borderou de evaluare (job #2896909) | Borderou de evaluare (job #1284473)
Borderou de evaluare (job #1284473)
Raport evaluator
Compilare:
user.cpp: In function ‘void insert(int, int)’:
user.cpp:17:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<h[ind].size();++i)
^
user.cpp: In function ‘int main()’:
user.cpp:42:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=0;j<h[i].size();++j)
^
user.cpp:55:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=0;j<h[i].size();++j)
^
user.cpp:25:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("patrate6.in","r",stdin);
^
user.cpp:26:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("patrate6.out","w",stdout);
^
user.cpp:28:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:31:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 20ms | 8076kb | Incorect | 0 |
| 2 | 20ms | 8076kb | OK | 10 |
| 3 | 24ms | 8080kb | OK | 10 |
| 4 | 44ms | 8196kb | OK | 10 |
| 5 | 20ms | 8076kb | OK | 10 |
| 6 | 20ms | 8080kb | OK | 10 |
| 7 | 52ms | 8080kb | OK | 10 |
| 8 | 24ms | 8076kb | OK | 10 |
| 9 | 88ms | 9416kb | OK | 10 |
| 10 | 84ms | 9276kb | OK | 10 |
| Punctaj total | 90 |